Benjamin Wang
34b7ee830e
Add changelog items for 1.3.8
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-26 16:20:06 +01:00
ncabatoff
804c83609e
Rework assertion to follow etcd approach. Enable assertions in tests.
...
Signed-off-by: ncabatoff <ncabatoff@hashicorp.com>
2023-10-26 09:19:13 -04:00
xinglong
dfa2d79a8e
Record the amount of free pages instead of hashmapFreeCount calculation
...
Signed-off-by: xing0821 <54933318+xing0821@users.noreply.github.com>
2023-10-26 09:03:31 -04:00
Benjamin Wang
d094cd712c
Merge pull request #584 from ahrtr/64align_solution2_20231023
...
Ensure the stats is always 64bit aligned
2023-10-25 16:15:18 +01:00
Benjamin Wang
26f89a5951
ensure the stats is always 64bit aligned
...
The first word in an allocated struct can be relied upon to be
64-bit aligned. Refer to https://pkg.go.dev/sync/atomic#pkg-note-BUG .
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-23 13:25:40 +01:00
Benjamin Wang
233156a53a
Merge pull request #539 from ahrtr/surgery_meta_20230717
...
cmd: add meta page related surgery commands
2023-10-19 10:45:56 +01:00
Benjamin Wang
31914ea6e8
cmd: add meta page related surgery commands
...
Two command:
- surgery meta validate
- surgery meta update
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-18 16:55:03 +01:00
James Blair
a812bcb85c
Complete migration to owners file.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-10-18 17:36:36 +13:00
Benjamin Wang
ef065626c3
Merge pull request #574 from etcd-io/dependabot/go_modules/golang.org/x/sync-0.4.0
...
build(deps): Bump golang.org/x/sync from 0.3.0 to 0.4.0
2023-10-09 18:29:42 +01:00
dependabot[bot]
eb6ec9879e
build(deps): Bump golang.org/x/sync from 0.3.0 to 0.4.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.3.0 to 0.4.0.
- [Commits](https://github.com/golang/sync/compare/v0.3.0...v0.4.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>
2023-10-09 15:29:34 +00:00
Benjamin Wang
0a28dcdb0c
Merge pull request #573 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.13.0
...
build(deps): Bump golang.org/x/sys from 0.12.0 to 0.13.0
2023-10-09 16:28:07 +01:00
dependabot[bot]
5d246f221c
build(deps): Bump golang.org/x/sys from 0.12.0 to 0.13.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/sys/compare/v0.12.0...v0.13.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>
2023-10-09 14:12:37 +00:00
Benjamin Wang
db45d0d6b1
Merge pull request #571 from monkeyWie/master
...
feat: adapts to Android 14
2023-10-05 16:57:08 +01:00
liwei
f3bb36466a
feat: adpater Android 14
...
Signed-off-by: liwei <liwei-8466@qq.com>
2023-09-22 10:21:06 +08:00
Benjamin Wang
1105f7573e
Merge pull request #569 from jmhbnz/add-owners-file
...
Add OWNERS file for bbolt
2023-09-18 11:55:08 +01:00
James Blair
e1400df84a
Add OWNERS file for bbolt.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-09-18 21:21:21 +12:00
Benjamin Wang
c46cb7c114
Merge pull request #565 from ncruces/patch-1
...
Documentation: remove note that Options.Timeout is Linux/macOS only
2023-09-18 10:11:42 +01:00
Benjamin Wang
e682325982
Merge pull request #566 from dusk125/upgrade-go1.21
...
Update to go1.21.1
2023-09-15 16:53:12 +01:00
Allen Ray
18ebb97451
Update to go1.21.1
...
Signed-off-by: Allen Ray <alray@redhat.com>
2023-09-15 09:26:06 -04:00
Nuno Cruces
6340c70371
Documentation: remove note that Options.Timeout is Linux/macOS only
...
This seems to work on all platforms.
E.g. on Windows it seems to work since 1cb787ee7bfebef44baf98158967a37735e65790.
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-09-13 14:25:56 +01:00
Benjamin Wang
ead6b854aa
Merge pull request #560 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.12.0
...
build(deps): Bump golang.org/x/sys from 0.11.0 to 0.12.0
2023-09-06 10:04:33 +01:00
Benjamin Wang
234621207d
Merge pull request #561 from etcd-io/dependabot/github_actions/actions/checkout-4
...
build(deps): Bump actions/checkout from 3 to 4
2023-09-04 17:36:49 +01:00
dependabot[bot]
686a2a3551
build(deps): Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 15:03:22 +00:00
dependabot[bot]
3c56d130e0
build(deps): Bump golang.org/x/sys from 0.11.0 to 0.12.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/sys/compare/v0.11.0...v0.12.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>
2023-09-04 14:13:38 +00:00
Benjamin Wang
86daf542e5
Merge pull request #556 from Jeremy-Run/master
...
delete unnecessary error info
2023-08-23 15:27:20 +08:00
Benjamin Wang
5d7f834a55
Merge pull request #557 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-3.7.0
...
build(deps): Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
2023-08-22 01:28:20 +08:00
dependabot[bot]
aafd6b26fd
build(deps): Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](639cd343e1...3a91952989
)
---
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>
2023-08-21 14:46:26 +00:00
Benjamin Wang
b6690241bd
Merge pull request #555 from jmhbnz/update-to-go-1.20
...
Update to golang 1.20 minor release
2023-08-21 20:48:45 +08:00
Jeremy
41c23856b2
delete unnecessary error info
...
Signed-off-by: Jeremy <acm_123@163.com>
2023-08-21 19:13:41 +08:00
James Blair
ca13fd8a2d
Use crypto/rand.Read instead of deprecated math/rand.Read.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-19 22:17:45 +12:00
James Blair
4154f9c642
Remove deprecated rand.Seed calls.
...
From go 1.20 if Seed is not called, the generator will be seeded randomly at program startup.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-19 22:16:51 +12:00
James Blair
ed506da9fd
Update to golang 1.20 minor release.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-19 21:25:39 +12:00
Benjamin Wang
c24bb8568d
Merge pull request #554 from testwill/typo
...
fix Continuing typo
2023-08-18 23:29:27 +08:00
guoguangwu
393e10e840
fix Continuing typo
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-08-18 22:06:31 +08:00
Benjamin Wang
0e7d8a6fe9
Merge pull request #552 from ishan16696/versionFlag
...
Added bbolt command line version flag to get runtime information.
2023-08-15 20:11:23 +08:00
Ishan Tyagi
a05608cf29
Added bbolt command line version flag to get runtime information.
...
Signed-off-by: Ishan Tyagi <ishantyagi25@gmail.com>
2023-08-11 18:16:34 +05:30
Benjamin Wang
59b8453440
Merge pull request #550 from fyfyrchik/heap-alloc-key
...
bucket: allow to allocate key on stack in Put()
2023-08-11 08:00:04 +01:00
Evgenii Stratonikov
71a59caf31
bucket: allow to allocate key on stack in Put()
...
As per `go build -gcflags -m ./... 2>&1`:
Old behaviour:
```
./bucket.go:148:31: leaking param: key
./bucket.go:192:42: leaking param: key
./bucket.go:271:22: leaking param: key
```
Now:
```
./bucket.go:148:31: key does not escape
./bucket.go:192:42: key does not escape
./bucket.go:271:22: key does not escape
```
Signed-off-by: Evgenii Stratonikov <fyfyrchik@runbox.com>
2023-08-10 15:25:28 +03:00
Benjamin Wang
0855b9637f
Merge pull request #532 from ahrtr/create_bucket_if_not_exist_20230627
...
Improve `CreateBucketIfNotExists` to avoid double searching the same key
2023-08-10 12:29:59 +01:00
Benjamin Wang
af45762eef
Merge pull request #549 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.11.0
...
build(deps): Bump golang.org/x/sys from 0.10.0 to 0.11.0
2023-08-08 14:14:24 +01:00
dependabot[bot]
2bbf2e9972
build(deps): Bump golang.org/x/sys from 0.10.0 to 0.11.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/sys/compare/v0.10.0...v0.11.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>
2023-08-07 14:37:14 +00:00
Benjamin Wang
3ed248c4eb
Improve CreateBucketIfNotExists to avoid double searching the same key
...
Benchmark with this change:
BenchmarkBucket_CreateBucketIfNotExists-10 123 9573035 ns/op 17930 B/op 37 allocs/op
Benchmark with old implementnation:
BenchmarkBucket_CreateBucketIfNotExists-10 121 10474415 ns/op 18147 B/op 46 allocs/op
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-07 09:54:26 +01:00
Benjamin Wang
b2a3debdd0
Merge pull request #548 from jmhbnz/master
...
Updated go to latest patch release 1.19.12
2023-08-06 07:40:51 +01:00
James Blair
84572b19e4
Updated go to latest patch release 1.19.12.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-06 08:44:54 +12:00
Benjamin Wang
b7798fd9c1
Merge pull request #547 from johnshajiang/ignore-DS_Store
...
gitignore: ignore .DS_Store on macOS
2023-08-01 18:01:36 +01:00
John Jiang
51a9dde31e
gitignore: ignore .DS_Store on macOS
...
Signed-off-by: John Jiang <john.sha.jiang@gmail.com>
2023-08-02 00:26:37 +08:00
Benjamin Wang
2478f30edc
Merge pull request #540 from ishan16696/doc/bboltCLI
...
Documentation: added a doc for bbolt command-line.
2023-08-01 10:44:26 +01:00
Ishan Tyagi
81634ce08c
Documentation: added a doc for bbolt command-line.
...
Signed-off-by: Ishan Tyagi <ishantyagi25@gmail.com>
2023-08-01 13:42:11 +05:30
Benjamin Wang
808aac7750
Merge pull request #546 from vianamjr/failpoint-lack-of-disk-space
...
tests: add failpoint to simulate lack of disk space
2023-07-31 14:42:04 +01:00
Marcondes Viana
5ddbd0c94e
tests: add failpoint to simulate lack of disk space
...
Signed-off-by: Marcondes Viana <marju10@gmail.com>
2023-07-31 08:23:01 -03:00