Commit Graph

1767 Commits (47910f18f8facf3b11db769f5bba89bc2c2969e1)

Author SHA1 Message Date
Benjamin Wang 29ffc0879d
Merge pull request #766 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.21.0
build(deps): Bump golang.org/x/sys from 0.20.0 to 0.21.0
2024-06-10 19:52:31 +01:00
Benjamin Wang e692f9baff
Merge pull request #764 from ahrtr/enhance_concurrent_test_20240605
Update concurrent test to support multiple operations in each transaction
2024-06-10 18:35:34 +01:00
dependabot[bot] 9fbc1e8688
build(deps): Bump golang.org/x/sys from 0.20.0 to 0.21.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/sys/compare/v0.20.0...v0.21.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-06-10 14:16:38 +00:00
Benjamin Wang 5a99eaa6f2
Merge pull request #765 from tjungblu/gobench_out
add gobench output option
2024-06-07 18:02:59 +01:00
Thomas Jungblut 29f165fdc0 add gobench output option
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-06-07 10:05:15 +02:00
Benjamin Wang 487b5dd3df Update concurrent test to support multiple operations in each transaction
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-06-06 10:30:59 +01:00
Benjamin Wang b342624aaf
Merge pull request #761 from ahrtr/verify_inline_bucket_20240604
Add verification on the pageID when creating nodes for inline buckets
2024-06-05 17:57:12 +01:00
Benjamin Wang f6e7d187ed
Merge pull request #762 from ArkaSaha30/main-cve-2024-24790
Bump Go version to 1.22.4: CVE 2024-24790 fix
2024-06-05 16:22:49 +01:00
ArkaSaha30 83ef8d691c
Bump Go version to 1.22.4: CVE 2024-24790 fix
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 15:10:45 +05:30
Benjamin Wang bbf2a10609 add verification on the pageID when creating nodes for inline buckets
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-06-04 14:51:19 +01:00
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>
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