Cenk Alti
3f7812656f
Update Bucket.Get documentation
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-06-18 20:27:01 -04:00
Benjamin Wang
8ebdaf8d2c
Merge pull request #516 from ahrtr/filesz_20230526
...
Remove field `filesz` from DB
2023-06-15 16:23:38 +01:00
Benjamin Wang
e79ff5f73d
Merge pull request #526 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-3.6.0
...
build(deps): Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0
2023-06-13 05:34:32 +08:00
dependabot[bot]
df4062a434
build(deps): Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](5f1fec7010...639cd343e1
)
---
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-06-12 15:03:11 +00:00
Benjamin Wang
4be8c63772
Merge pull request #525 from charles-chenzz/update-golang-patch
...
update go to latest patch release 1.19.10
2023-06-09 08:39:24 +08:00
charles-chenzz
c8cb5273d9
update go to latest patch release 1.19.10
...
Signed-off-by: charles-chenzz <Rekles666@gmail.com>
2023-06-08 20:06:52 +08:00
Benjamin Wang
0880906068
Merge pull request #523 from etcd-io/dependabot/go_modules/github.com/stretchr/testify-1.8.4
...
build(deps): Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
2023-06-06 07:43:22 +08:00
Benjamin Wang
4169b81123
Merge pull request #522 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-3.5.0
...
build(deps): Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0
2023-06-06 07:42:51 +08:00
dependabot[bot]
1b3c29385a
build(deps): Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 15:01:26 +00:00
dependabot[bot]
3b3316810d
build(deps): Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](08e2f20817...5f1fec7010
)
---
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-06-05 15:01:14 +00:00
Benjamin Wang
b31e3ec736
Merge pull request #518 from cenkalti/rebalance
...
Adjust rebalance threshold with Bucket.FillPercent
2023-05-31 06:03:32 +08:00
Benjamin Wang
9a10547943
Merge pull request #507 from ahrtr/flags_20230519
...
Set each page flags directly instead of only setting the specific bit
2023-05-31 06:03:05 +08:00
Cenk Alti
03e5cc7958
Adjust rebalance threshold with Bucket.FillPercent
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-05-30 10:04:05 -04:00
Benjamin Wang
053fd189c8
Merge pull request #515 from ahrtr/test_util_20230526
...
test: fix 'loadMetaPage' always read the first meta page
2023-05-26 19:51:09 +08:00
Benjamin Wang
debd537008
Merge pull request #514 from ahrtr/dirty_read_20230523
...
test: add test case to verify repeatable read
2023-05-26 18:20:42 +08:00
Benjamin Wang
fddd3ac7f7
remove field 'filesz' from DB
...
There is no reason to maintain a file size. It's only used
when mapping the db or growing the db; obviously neither
are hot path.
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-26 16:44:04 +08:00
Benjamin Wang
d19b7c8fba
test: fix 'loadMetaPage' always read the first meta page
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-26 15:00:45 +08:00
Benjamin Wang
3fd1022a0a
Merge pull request #501 from cenkalti/readonly
...
Do not create db file if opened read-only
2023-05-26 10:59:29 +08:00
Benjamin Wang
99071629bf
test: add comments to describe TestConcurrentRepeatableRead
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-26 10:32:33 +08:00
Benjamin Wang
1eaf75a9d9
test: add test case `TestConcurrentRepeatableRead` to verify repeatable read
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-25 10:56:40 +08:00
Benjamin Wang
504e7be72c
Merge pull request #510 from mjl-/master
...
add github.com/mjl-/bstore to list of projects using bbolt
2023-05-24 15:57:10 +08:00
Benjamin Wang
4fc92dedc4
Merge pull request #512 from mjl-/fix-import-path
...
Update import paths to pkg.go.dev and go report card
2023-05-24 05:36:36 +08:00
Mechiel Lukkien
3501667d55
Update import paths used to pkg.go.dev and go report card
...
They pointed to github.com/etcd-io/bbolt, which only returns the bbolt version
from before the module path change. Some time ago, I caught myself using the
older github.com import path, and I suspect it was because of these links.
This changes the link from godoc.org to pkg.go.dev, and uses the badge from
https://pkg.go.dev/badge/ .
Signed-off-by: Mechiel Lukkien <mechiel@ueber.net>
2023-05-23 09:40:02 +02:00
Mechiel Lukkien
dbbfc0ec54
add github.com/mjl-/bstore to list of projects using bbolt
...
Signed-off-by: Mechiel Lukkien <mechiel@ueber.net>
2023-05-23 09:36:39 +02:00
Benjamin Wang
d5339652fb
Merge pull request #511 from etcd-io/dependabot/go_modules/github.com/stretchr/testify-1.8.3
...
build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
2023-05-23 07:43:53 +08:00
dependabot[bot]
b1760abba9
build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 15:01:52 +00:00
Benjamin Wang
a78b0c40ed
set page flags directly instead of XOR the value
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-19 19:33:21 +08:00
Benjamin Wang
07579acf0c
Merge pull request #502 from cenkalti/mask
...
Remove unnecessary masking
2023-05-18 08:50:01 +08:00
Cenk Alti
05286ad2af
Do not create db file if opened read-only
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-05-17 15:17:51 -04:00
Benjamin Wang
53ce8c103d
Merge pull request #499 from cenkalti/tx-doc
...
Update Tx.Commit documentation
2023-05-17 11:11:08 +08:00
Benjamin Wang
553ea0aab7
Merge pull request #500 from cenkalti/bucket
...
Add bucket retrieve example to README
2023-05-17 07:03:07 +08:00
Cenk Alti
b3df07c58c
Remove unnecessary masking
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-05-16 16:37:46 -04:00
Cenk Alti
6ec43f8da3
Add bucket retrieve example to README
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-05-16 16:04:31 -04:00
Cenk Alti
daff030646
Update Tx.Commit documentation
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-05-16 14:56:40 -04:00
Benjamin Wang
160cd29ec3
Merge pull request #497 from ahrtr/split_surgery_freelist_20230516
...
cmd: split 'surgery freelist' into separate files
2023-05-16 19:00:15 +08:00
Benjamin Wang
c2efe9f0d8
cmd: split 'surgery freelist' into separate files
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-16 16:51:06 +08:00
Benjamin Wang
94513901af
Merge pull request #496 from ahrtr/surgery_required_flags_20230516
...
cmd: mark some flags of surgery commands as required
2023-05-16 16:29:32 +08:00
Benjamin Wang
065a3e1953
cmd: mark some flags of surgery commands as required
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-16 14:13:15 +08:00
Benjamin Wang
bd6b79cad1
Merge pull request #484 from ahrtr/surgery_20230507
...
cmd: migrate 'surgery clear-page' command to cobra style command
2023-05-16 08:47:09 +08:00
Benjamin Wang
fbc136d482
Merge pull request #493 from cenkalti/deprecated
...
Fix deprecated comment.
2023-05-16 06:21:48 +08:00
Cenk Alti
6c836cbcaf
Fix deprecated comment.
...
Correct way of marking a method deprecated is adding a paragraph that
starts with "Deprecated:".
https://go.dev/blog/godoc
ff3aefbad4/src/cmd/api/api.go (L1137)
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-05-15 16:01:11 -04:00
Benjamin Wang
8974e912fb
cmd: check source db path for all surgery commands
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-09 08:50:17 +08:00
Benjamin Wang
383d990794
cmd: wrap 'surgery clear-page' options into surgeryClearPageOptions
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-09 08:38:56 +08:00
Benjamin Wang
6e12e088d4
cmd: migrate 'surgery copy-page' command to cobra style command
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-05-09 08:27:04 +08:00
Benjamin Wang
8b1ee10512
Merge pull request #489 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.8.0
...
build(deps): Bump golang.org/x/sys from 0.7.0 to 0.8.0
2023-05-09 07:48:03 +08:00
Benjamin Wang
d6c7a4bdd6
Merge pull request #485 from serathius/command-decompose
...
Decompose command options
2023-05-09 06:23:27 +08:00
dependabot[bot]
d76c5b8f3e
build(deps): Bump golang.org/x/sys from 0.7.0 to 0.8.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sys/compare/v0.7.0...v0.8.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-05-08 21:52:11 +00:00
Benjamin Wang
78709910ae
Merge pull request #488 from etcd-io/dependabot/go_modules/golang.org/x/sync-0.2.0
...
build(deps): Bump golang.org/x/sync from 0.1.0 to 0.2.0
2023-05-09 05:51:33 +08:00
dependabot[bot]
f2d7356f6d
build(deps): Bump golang.org/x/sync from 0.1.0 to 0.2.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.1.0 to 0.2.0.
- [Commits](https://github.com/golang/sync/compare/v0.1.0...v0.2.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-05-08 15:02:30 +00:00
Marek Siarkowicz
f483d799ae
Decompose command options
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-05-08 14:18:24 +02:00