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
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
Benjamin Wang
25ab4cb0b4
Merge pull request #663 from fuweid/fuweid/fix-powerfailure
...
tests/robustness: switch to kill if no panic after 10sec
2024-01-04 10:10:12 +00:00
Wei Fu
49eb212fa8
tests/robustness: switch to kill if no panic after 10sec
...
If file doesn't grow in 10 sec, bbolt won't trigger the following
errors:
* lackOfDiskSpace
* mapError
* resizeFileError
* unmapError
We should switch to kill instead of waiting for panic. In order to
trigger these errors, we should increase value size to 512.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-04 16:17:29 +08:00
Benjamin Wang
19be27394f
Merge pull request #635 from Elbehery/add_move_subBucket
...
add MoveBucket to support moving a sub-bucket from one bucket to anot…
2024-01-03 09:52:29 +00:00
Benjamin Wang
1d7fd9af3d
Merge pull request #658 from fuweid/introduce-nightly-run
...
test: introduce nightly job for robustness test
2024-01-03 06:39:36 +00:00
Benjamin Wang
886eccbdf5
Add log into MoveBucket and clone the key
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-02 15:08:51 +00:00
Benjamin Wang
0bd26bc48c
Refactor test case TestTx_MoveBucket and add log for MoveBucket
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-02 13:38:32 +00:00
Mustafa Elbehery
ac355dec24
add MoveSubBucket test
...
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2024-01-02 14:33:00 +01:00
Benjamin Wang
27ded38c22
add MoveBucket to support moving a sub-bucket from one bucket to another bucket
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-02 14:33:00 +01:00
Wei Fu
c61a3be3e8
*: introduce nightly run for robustness
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-02 21:29:51 +08:00
Wei Fu
4c3a80b2c0
tests: Update TestRestartFromPowerFailure
...
Update case with a combination of EXT4 filesystem's commit setting and
unexpected exit event. That EXT4 filesystem's commit is to sync all its data
and metadata every seconds. The kernel can help us sync even if that
process has been killed. With different commit setting, we can simulate
that case that kernel syncs half part of dirty pages before power
failure. And for unexpected exit event, we can kill that process
randomly or panic at failpoint instead of fixed code path.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-02 21:29:46 +08:00
Benjamin Wang
9f1a1d35fb
Merge pull request #657 from ahrtr/refactor_check_20231231
...
Move checking the invariant properties into a common method
2024-01-02 13:26:00 +00:00
Benjamin Wang
b18e7931c5
move the invariant properties into a common method
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-12-31 14:19:19 +00:00
Benjamin Wang
c1eb99248d
Merge pull request #646 from ahrtr/logger_bbolt_20231207
...
Add log messages
2023-12-29 13:42:33 +00:00
Benjamin Wang
4c7075efe6
add log messages
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-12-29 11:25:43 +00:00
Benjamin Wang
de6c42bcf2
Merge pull request #651 from ahrtr/renaming_20231227
...
Refactor the implementation of check
2023-12-29 10:21:51 +00:00
Benjamin Wang
47cc272875
Merge pull request #652 from jmhbnz/tune-arm64-memory-allocation
...
Tune arm64 memory allocation and disable telemetry
2023-12-28 09:38:09 +00:00
James Blair
2cd6213e4a
Remove workflow telemetry to reduce noise.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-12-28 09:14:03 +13:00
James Blair
53450a9f2b
Fix yamllint errors in workflow files.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-12-28 09:12:31 +13:00
James Blair
7cab486ea2
Reduce arm64 runner memory allocation to 8GB.
...
Based on memory consumption statistics for historic runs.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-12-28 09:09:23 +13:00
Benjamin Wang
23c97d55e6
refactor the implementation of check
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-12-27 15:32:54 +00:00
Benjamin Wang
4b761832c4
Merge pull request #649 from fuweid/add-fuwei-as-reviewer
...
OWNERS: add fuweid as reviewer
2023-12-21 16:48:39 +00:00
Wei Fu
052862c261
OWNERS: add fuweid as reviewer
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-12-21 23:24:48 +08:00
Benjamin Wang
008e27b0e4
Merge pull request #645 from fuweid/update-changelog
...
CHANGELOG: update for v1.3.9
2023-12-18 17:46:36 +00:00
Wei Fu
e4ab08e221
CHANGELOG: update for v1.3.9
...
- [bucket: allow to allocate key on stack in Put()](https://github.com/etcd-io/bbolt/pull/550 )
- [bucket.Put: copy key before seek](https://github.com/etcd-io/bbolt/pull/637 )
- [copy key before comparing during CreateBucket or CreateBucketIfNotExists](https://github.com/etcd-io/bbolt/pull/641 )
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-12-19 00:20:29 +08:00
Benjamin Wang
cce7a799a9
Merge pull request #644 from etcd-io/dependabot/github_actions/actions/github-script-7.0.1
...
build(deps): Bump actions/github-script from 6.4.1 to 7.0.1
2023-12-18 16:17:58 +00:00