Commit Graph

1790 Commits (main)

Author SHA1 Message Date
Benjamin Wang b048046433
Merge pull request #747 from ahrtr/1.3.10_20240503
Update changelog for 1.3.10
2024-05-03 16:47:00 +01:00
Benjamin Wang dc3e157531 Update changelog for 1.4.0-alpha.1
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-05-03 16:09:12 +01:00
Benjamin Wang 6ba9b2c20b Update changelog for 1.3.10
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-05-03 15:18:13 +01:00
Benjamin Wang 5192661398
Merge pull request #743 from ahrtr/cursor_doc_20240502
Update readme to clearly clarify the behaviour of Next and Prev
2024-05-02 17:55:09 +01:00
Benjamin Wang 5159803c62 Update readme to clearly clarify the behaviour of Next and Prev
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-05-02 16:26:36 +01:00
Benjamin Wang 7030e30d19
Merge pull request #734 from ahrtr/cursor_20240421
Ensure a cursor can continue to iterate elements in reverse direction by call Next when it has already reached the beginning
2024-05-02 16:03:50 +01:00
Benjamin Wang 6967960a72 Ensure a cursor can continue to iterate elements in reverse direction by call Next when it has already reached the beginning
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-30 16:00:06 +01:00
Benjamin Wang e457711987 Add test case to reproduce the issue that a cursor can't continue to iterate elements in reverse direction after it has reached to the first element
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-30 16:00:06 +01:00
Benjamin Wang 6291f7a1d7
Merge pull request #741 from ivanvc/supress-logging-for-frequently-called-methods
*: skip logging if logger is discardLogger
2024-04-30 15:57:00 +01:00
Benjamin Wang 4241880bf8
Merge pull request #742 from ivanvc/dont-run-robustness-test-in-user-forks
github/workflows: skip robustness tests in forks
2024-04-30 15:56:03 +01:00
Ivan Valdes 06d4621c8f
github/workflows: skip robustness tests in forks
Robustness tests require a larger instance size, which user forks cannot
access. It also tries to trigger an ARM64 build that runs on actuated
infrastructure. By not running them on user forks, contributors won't be
notified that their builds are failing due to timeouts trying to run the
job, while the tests will still run on etcd-io/bbolt pull requests and
commits.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-30 06:28:56 -07:00
Ivan Valdes fbea5d610d
*: skip logging if logger is discardLogger
If there is no logger defined (discardLogger), skip logging altogether for
highly frequent called methods (Put, Delete, CreateBucket,
CreateBucketIfNotExists, DeleteBucket, Begin, Commit, Open, MoveBucket, Sync).

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-30 06:16:37 -07:00
Benjamin Wang ad4cb866e3
Merge pull request #740 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-5.0.0
build(deps): Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0
2024-04-29 17:41:06 +01:00
dependabot[bot] 4936519f3a
build(deps): Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3cfe3a4abb...82d40c283a)

---
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-04-29 14:17:11 +00:00
Benjamin Wang 2112e9c931
Merge pull request #737 from Elbehery/add-check-subcommand-pgid
feat: add `page-Id` flag to `check` cmd
2024-04-23 20:19:23 +01:00
Mustafa Elbehery acfa0868c5 add pageId flag to check cmd
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2024-04-23 19:38:31 +02:00
Benjamin Wang a718144dd1
Merge pull request #735 from ChengenH/main
chore: use errors.New to replace fmt.Errorf with no parameters will much better
2024-04-22 09:44:38 +01:00
ChengenH b005c0c435 chore: use errors.New to replace fmt.Errorf with no parameters will much better
Signed-off-by: ChengenH <hce19970702@gmail.com>
2024-04-21 21:35:18 +08:00
Benjamin Wang 5ae7bc66ce
Merge pull request #729 from ahrtr/update_surgery_cmd_20240417
Simplify the commands' usage description
2024-04-21 13:00:32 +01:00
Benjamin Wang ed61ba6e2d
Merge pull request #721 from ivanvc/fix-read-benchmark-metrics-overhead
bench: aggregate adding completed ops for reads
2024-04-21 13:00:06 +01:00
Ivan Valdes 43c669db88
bench: aggregate adding completed ops for reads
Currently, the completed operations are added to the read benchmarks
one by one, and given that each operation is atomic, it impacts the
benchmark's performance. Change to update only once per cycle, with
the total number of reads.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-19 15:32:23 -07:00
Benjamin Wang f7de41e900 Simplify the command's description
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-18 12:19:12 +01:00
Benjamin Wang f5447f026e
Merge pull request #732 from ivanvc/rename-cobra-commands
Rename cobra commands
2024-04-18 12:16:25 +01:00
Ivan Valdes 6ff4ce7009
cmd: replace CobraCommand suffix with Command
* Rename newInspectCobraCommand to newInspectCommand
* Rename newVersionCobraCommand to newVersionCommand

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-18 03:36:10 -06:00
Benjamin Wang 2468774933
Merge pull request #730 from ahrtr/empty_value_20240417
Add a known issue on the writing a value with a length of 0 always re…
2024-04-18 09:40:14 +01:00
Benjamin Wang df86a96bf7
Merge pull request #723 from Elbehery/migrate_check_cobra
cmd: migrate `check` command to cobra style
2024-04-17 19:13:14 +01:00
Mustafa Elbehery e3afa40804 add check cmd cobra
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2024-04-17 18:26:40 +02:00
Benjamin Wang 432a97935b Add a known issue on the writing a value with a length of 0 always result in reading back an empty []byte{} value
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-17 17:23:38 +01:00
Benjamin Wang cc22218076
Merge pull request #728 from Elbehery/use_cobra_exactArgs
fix: use cobra exactArgs
2024-04-17 11:31:22 +01:00
Mustafa Elbehery 2fe6b6347f fix: use cobra exactArgs
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2024-04-17 11:04:59 +02:00
Benjamin Wang 818cc9ccd7
Merge pull request #724 from deferdeter/main
chore: fix function name in comment
2024-04-16 15:00:53 +01:00
deferdeter 3a180ad9c9 chore: fix function name in comment
Signed-off-by: deferdeter <deferdeter@outlook.com>
2024-04-16 14:25:07 +08:00
Benjamin Wang 37ff3504e3
Merge pull request #722 from cenkalti/stalebot
Add workflow to close stale issues and PRs
2024-04-15 20:22:27 +01:00
Cenk Altı b21ea719bc
Add workflow to close stale issues and PRs
Signed-off-by: Cenk Altı <cenkalti@gmail.com>

Update .github/workflows/stale.yaml

Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
2024-04-15 11:16:22 -04:00
Benjamin Wang ee11a09015
Merge pull request #711 from ambaxter/bench_random
Added rnd read capabilities to bbolt bench
2024-04-11 08:53:21 +01:00
Adam Baxter d3370d3859 Add rnd read-mode to bbolt bench command
Signed-off-by: Adam Baxter <adam.m.baxter@gmail.com>
2024-04-10 12:08:50 +01:00
Benjamin Wang 67165811e5
Merge pull request #718 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.19.0
build(deps): Bump golang.org/x/sys from 0.18.0 to 0.19.0
2024-04-08 22:07:37 +01:00
dependabot[bot] 72d2851518
build(deps): Bump golang.org/x/sys from 0.18.0 to 0.19.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.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-04-08 19:03:10 +00:00
Benjamin Wang 294ab70fe9
Merge pull request #719 from etcd-io/dependabot/go_modules/golang.org/x/sync-0.7.0
build(deps): Bump golang.org/x/sync from 0.6.0 to 0.7.0
2024-04-08 20:02:25 +01:00
dependabot[bot] ed64923fca
build(deps): Bump golang.org/x/sync from 0.6.0 to 0.7.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.6.0 to 0.7.0.
- [Commits](https://github.com/golang/sync/compare/v0.6.0...v0.7.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-04-08 15:00:31 +00:00
Benjamin Wang ecadb057a6
Merge pull request #714 from henrybear327/refactor/remove_unused_seed_code
Remove unused seed generation code
2024-04-05 10:30:28 +01:00
Chun-Hung Tseng 4352c84fe5
Remove unused seed generation code
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 21:58:30 +02:00
Benjamin Wang 43604f3112
Merge pull request #712 from henrybear327/cve/CVE-2023-45288
Bump go toolchain version to address CVE-2023-45288
2024-04-04 18:03:59 +01:00
Chun-Hung Tseng 6c1d16e8c2
Bump go toolchain version to address CVE-2023-45288
Changes:
- Bump toolchain version to 1.22.2 due to CVE-2023-45288

Reference:
- PR #17703

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 10:53:56 +02:00
Benjamin Wang c57b3537ed
Merge pull request #707 from tjungblu/xfs
Add basic XFS powerfailure tests
2024-03-13 13:21:22 +00:00
Thomas Jungblut c27eedcf80 Add basic XFS powerfailure tests
This also introduces mkfs options, in case we need to accomodate for
non-default parameters here in the future.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-03-13 10:18:52 +01:00
Benjamin Wang 9109fcb81e
Merge pull request #709 from ideapark/main
all: fix doc of var ErrChecksum
2024-03-12 12:03:09 +00:00
Park Zhou 47b03dbfb4 all: fix doc of var ErrChecksum
Signed-off-by: Park Zhou <ideapark@139.com>
2024-03-12 09:00:05 +08:00
Benjamin Wang bd1ef29831
Merge pull request #710 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.18.0
build(deps): Bump golang.org/x/sys from 0.17.0 to 0.18.0
2024-03-11 16:33:06 +00:00
dependabot[bot] f75cc0ea31
build(deps): Bump golang.org/x/sys from 0.17.0 to 0.18.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.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-03-11 14:55:02 +00:00