1534 Commits

Author SHA1 Message Date
Benjamin Wang
29e575e99f
Merge pull request #703 from tjungblu/tx_meta_surgery_docs
remove txid references in meta surgery
2024-02-28 09:57:28 +00:00
Thomas Jungblut
9f4ff8a549 remove txid references in meta surgery
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-02-27 15:54:17 +01:00
Benjamin Wang
f09dcc743e
Merge pull request #700 from tjungblu/surg_cmd
fixing surgery freelist command in info logs
2024-02-27 13:30:04 +00:00
Thomas Jungblut
60ae138f23 fixing surgery freelist command in info logs
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-02-27 12:57:36 +01:00
Benjamin Wang
03ddc59dcf
Merge pull request #699 from ishan16696/smallRefactor
Change the type of pageId uint -> uint64.
2024-02-25 16:47:05 +00:00
Ishan Tyagi
cdac32e57c Change the type of pageId uint -> uint64.
Signed-off-by: ishan16696 <ishan.tyagi@sap.com>
2024-02-25 19:02:02 +05:30
Benjamin Wang
a6ec26b9cc
Merge pull request #697 from ahrtr/1.3.9_changelog
Update the release date of v1.3.9
2024-02-25 08:04:11 +00:00
Benjamin Wang
7a72c9a241 Update the release date of v1.3.9
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-24 15:33:25 +00:00
Benjamin Wang
f9bb4badb9
Merge pull request #693 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.17.0
build(deps): Bump golang.org/x/sys from 0.16.0 to 0.17.0
2024-02-12 16:07:46 +00:00
Benjamin Wang
c4461140a2
Merge pull request #692 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-4.0.0
build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
2024-02-12 15:31:12 +00:00
dependabot[bot]
d0ab4cc862
build(deps): Bump golang.org/x/sys from 0.16.0 to 0.17.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 14:43:18 +00:00
dependabot[bot]
d17ee55b7a
build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3a91952989...3cfe3a4abb)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 14:12:44 +00:00
Benjamin Wang
897169f00b
Merge pull request #689 from ahrtr/update_owners_20240206
Remove mitake from OWNERS
2024-02-08 10:34:25 +00:00
Benjamin Wang
c0ab8df53b Remove mitake from OWNERS
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-06 12:47:09 +00:00
Benjamin Wang
4d74483f9b
Merge pull request #688 from ahrtr/email_20240205
Update ahrtr's email
2024-02-05 15:56:59 +00:00
Benjamin Wang
1c772e6e67 Update ahrtr's email
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-05 14:35:36 +00:00
Benjamin Wang
2a0e6e8a74
Merge pull request #687 from ahrtr/fix_check_20240204
Continue to enhance check functionality and add one more case to cover the nested bucket case
2024-02-05 10:14:37 +00:00
Benjamin Wang
2b1ee6c191 Continue to enhance check functionality and add one more case to cover the nested bucket case
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-04 09:53:00 +00:00
Benjamin Wang
da5975b356
Merge pull request #659 from Elbehery/add_test_check_page
Enhance check functionality to support checking starting from a pageId
2024-02-04 09:23:48 +00:00
Benjamin Wang
29d1e3d291 refactor/simplify the test case TestTx_Check_CorruptPage
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-03 16:41:42 +00:00
Benjamin Wang
1906d5a776
Merge pull request #686 from ahrtr/changelog_20240131
Add changelog item for release-1.3 to cover the fix for bbolt keys and get commands
2024-02-01 14:26:46 +00:00
Benjamin Wang
2ca36937c3
Merge pull request #682 from Elbehery/fix_cli_panics
Fix `bbolt keys` and `bbolt get` to prevent them from panicking when no parameter provided
2024-02-01 13:56:02 +00:00
Benjamin Wang
ad96767fd1 Add changelog item for release-1.3 to cover the fix for bbolt keys and get commands
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-31 19:13:51 +00:00
Mustafa Elbehery
3405ebb215 fix cli cmds panics
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2024-01-31 19:22:13 +01:00
Mustafa Elbehery
20e961112d add test check page
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2024-01-27 14:47:11 +01:00
Benjamin Wang
248e6f8a15 enhance check functionality to support checking starting from a pageId
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-22 15:43:57 +01:00
Benjamin Wang
638301127d
Merge pull request #678 from ivanvc/update-go-version-to-1.21.6
dependency: update go version to 1.21.6
2024-01-19 09:41:53 +00:00
Ivan Valdes
a984bde424
dependency: update go version to 1.21.6
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-01-18 15:02:08 -08:00
Benjamin Wang
8ede234abe
Merge pull request #677 from mojighahar/patch-1
add portainer to bolt users
2024-01-13 13:17:06 +00:00
mojighahar
af1fd0d5a6 add portainer to bolt users
Signed-off-by: Mojtaba Ghahari <mojighahar@gmail.com>
2024-01-13 14:49:25 +03:30
Benjamin Wang
6c2c2616da
Merge pull request #676 from ahrtr/changelog_20240112
Add changelog for v1.4.0-alpha.0
2024-01-13 11:03:34 +00:00
Benjamin Wang
6b4b05d395 add changelog for v1.4.0-alpha.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-12 16:09:00 +00:00
Benjamin Wang
2c1cba76d4
Merge pull request #671 from Elbehery/add_move_bucket_protection
Prevent `MoveBucket` from moving a bucket across two different db files
v1.4.0-alpha.0
2024-01-12 15:18:04 +00:00
Mustafa Elbehery
7555f264f5 prevent MoveBucket from moving a bucket across two different db files
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2024-01-12 14:56:56 +01:00
Benjamin Wang
273dc4eda6
Merge pull request #675 from fuweid/update-unknown-issues
README.md: introduce known issue section
2024-01-12 12:04:53 +00:00
Wei Fu
ae4ae4a0f9 README.md: introduce known issue section
The users might run into data corrupted issues caused by underlay filesystem.
It's out of scope for bboltdb maintainers to fix filesystem issue. But
the section to track known issues can help users and contributors to analyse
root cause when they run into data corrupted issues.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-12 19:38:51 +08:00
Benjamin Wang
e016ddff4c
Merge pull request #672 from ahrtr/version_20240110
Update bbolt version to 1.4.0-alpha.0
2024-01-12 09:50:02 +00:00
Benjamin Wang
87fb5de18a
Merge pull request #674 from ahrtr/inspect_20240111
Add `Inspect` method & command to inspect db structure
2024-01-11 18:28:14 +00:00
Benjamin Wang
019c34e51f add method Inspect to inspect bucket structure
Also added a related command: bbolt inspect db

The outputed etcd data structure:
{
    "name": "root",
    "keyN": 0,
    "children": [
        {
            "name": "alarm",
            "keyN": 0
        },
        {
            "name": "auth",
            "keyN": 2
        },
        {
            "name": "authRoles",
            "keyN": 1
        },
        {
            "name": "authUsers",
            "keyN": 1
        },
        {
            "name": "cluster",
            "keyN": 1
        },
        {
            "name": "key",
            "keyN": 1285
        },
        {
            "name": "lease",
            "keyN": 2
        },
        {
            "name": "members",
            "keyN": 1
        },
        {
            "name": "members_removed",
            "keyN": 0
        },
        {
            "name": "meta",
            "keyN": 3
        }
    ]
}

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-11 15:09:58 +00:00
Benjamin Wang
204e8bd9d9 Update bbolt version to 1.4.0-alpha.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-10 15:38:20 +00:00
Benjamin Wang
4a059b4bea
Merge pull request #668 from etcd-io/dependabot/go_modules/golang.org/x/sync-0.6.0
build(deps): Bump golang.org/x/sync from 0.5.0 to 0.6.0
2024-01-08 19:48:42 +00:00
dependabot[bot]
9270523565
build(deps): Bump golang.org/x/sync from 0.5.0 to 0.6.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 17:05:07 +00:00
Benjamin Wang
2ee0da568c
Merge pull request #667 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.16.0
build(deps): Bump golang.org/x/sys from 0.15.0 to 0.16.0
2024-01-08 17:04:32 +00:00
dependabot[bot]
f9c9a172dd
build(deps): Bump golang.org/x/sys from 0.15.0 to 0.16.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 14:42:18 +00:00
Benjamin Wang
288e82320a
Merge pull request #666 from ahrtr/check_channel_20240105
Move the closing of channel into the same method of creating the channel
2024-01-06 11:03:37 +00:00
Benjamin Wang
9cec34d9c6 move the closing of channel into the same method of creating the channel
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-05 10:09:21 +00:00
Benjamin Wang
572547402a
Merge pull request #662 from fuweid/fuweid/run-robustness-on-arm64
.github: enable robustness on arm64
2024-01-04 18:43:23 +00:00
Wei Fu
32f6f6646f .github: enable robustness on arm64
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-04 21:35:20 +08:00
Benjamin Wang
2039ceeb06
Merge pull request #664 from fuweid/fuweid/exit-if-no-gofail
*: run test-robustness with build
2024-01-04 13:28:10 +00:00
Wei Fu
68ab1a1207 *: run test-robustness with build
Add new recipe to build bbolt command so that we can ensure that
test-robustness recipe is using bbolt with gofail.

Since test-robustness requires root, move `sudo` into test-robustness
recipe. Otherwise, both bbolt binary and gofail code belongs to root
user.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-04 19:19:03 +08:00