1607 Commits

Author SHA1 Message Date
Benjamin Wang
f663d4e604
Merge pull request #758 from profnandaa/patch-1
docs: add few more projects using bbolt
2024-05-23 17:27:03 +01:00
Anthony Nandaa
b8f9c332f4 docs: add few more projects using bbolt
bbolt is extensively used in the container world.
I have just added the prominent projects here but
I'm sure we have a few more.

Signed-off-by: Anthony Nandaa <profnandaa@gmail.com>
2024-05-23 19:13:01 +03:00
Benjamin Wang
7eb39a611d
Merge pull request #757 from ahrtr/extend_maintainer_20240514
Extend the maintainers of bbolt
2024-05-15 07:00:24 +01:00
Benjamin Wang
7eeb5d8978 Extend the maintainers of bbolt
1. Add @tjungblu as a reviewer
2. Add OWNERS file under cmd/bbolt, and add the existing maintainers/reviewers
   as approvers, and add @Elbehery and @ivanvc as reviewers.

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-05-14 13:07:07 +01:00
Benjamin Wang
7842db0b5b
Merge pull request #756 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-6.0.1
build(deps): Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1
2024-05-13 19:37:30 +01:00
dependabot[bot]
c4c4fbda3c
build(deps): Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.3.0 to 6.0.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](38e1018663...a4f60bb28d)

---
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-05-13 14:55:17 +00:00
Benjamin Wang
89209af22e
Merge pull request #753 from lavishpal/update/go-version-to-1.22.3
dependency : update go version to 1.22.3
2024-05-11 11:00:46 +01:00
Lavish pal
6a04aaa322 update go version to 1.22.3
Signed-off-by: Lavish pal <lvishpal408@gmail.com>
2024-05-11 12:57:16 +05:30
Benjamin Wang
a9d3063030
Merge pull request #752 from ivanvc/dont-run-race-tests-on-user-forks
github/workflows: don't run race tests on user forks
2024-05-09 09:33:08 +01:00
Ivan Valdes
2064324161
github/workflows: don't run race tests on user forks
Race tests require a larger instance size, which user forks cannot
access. 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-05-08 17:42:08 -04:00
Benjamin Wang
cbab14e415
Merge pull request #748 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.20.0
build(deps): Bump golang.org/x/sys from 0.19.0 to 0.20.0
2024-05-06 18:35:27 +01:00
Benjamin Wang
8336aa33ba
Merge pull request #749 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-5.3.0
build(deps): Bump golangci/golangci-lint-action from 5.0.0 to 5.3.0
2024-05-06 18:35:16 +01:00
dependabot[bot]
a045cf50c9
build(deps): Bump golangci/golangci-lint-action from 5.0.0 to 5.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.0.0 to 5.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](82d40c283a...38e1018663)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 14:26:17 +00:00
dependabot[bot]
b1245be027
build(deps): Bump golang.org/x/sys from 0.19.0 to 0.20.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/sys/compare/v0.19.0...v0.20.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-05-06 14:14:44 +00:00
Benjamin Wang
b0085af327 Update release date of v1.4.0-alpha.1
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-05-06 10:31:29 +01:00
Benjamin Wang
05bc008d63 Update release date of v1.3.10
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
v1.4.0-alpha.1
2024-05-06 10:21:51 +01:00
Benjamin Wang
30530e3291
Merge pull request #745 from ahrtr/changelog_1.4-alpha.1_20240503
Update changelog for 1.4.0-alpha.1
2024-05-03 17:39:49 +01:00
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