1683 Commits

Author SHA1 Message Date
caojiamingalan
5ce15f0a8a add tx.ID() in log. Change the position of log. If we call tx.ID() before testing the nullity of tx.db, it may panic.
Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
2023-11-27 17:26:26 +01:00
caojiamingalan
7d93161fbd add logger
Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
2023-11-27 17:08:16 +01:00
Benjamin Wang
d630253fcd
Merge pull request #623 from fuweid/add-failpoint-when-sync
Add failpoint when sync
2023-11-26 16:10:21 +00:00
Wei Fu
445a07b6cb tx.go: introduce failpoint before fdatasync
It can be used for power failure cases.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-11-26 21:26:30 +08:00
Benjamin Wang
231772f030
Merge pull request #606 from Elbehery/refactor_finding_last_bucket_in_subBuckets
fix: refactor findingLastBucket into a func
2023-11-22 12:20:30 +00:00
Mustafa Elbehery
b5aaaeba54 fix: refactor findingLastBucket into a func
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-22 11:39:23 +01:00
Benjamin Wang
574235fe07
Merge pull request #620 from ivanvc/run-arm64-only-in-etcd-io-organization
github workflow: only run arm64 for etcd-io/bbolt
2023-11-21 19:44:58 +00:00
Ivan Valdes
607a0c3d08
github workflow: only run arm64 for etcd-io/bbolt
Skip running arm64 jobs that use actuated's runners for commits done in
forked repositories. These jobs will not run and eventually fail in
GitHub actions.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-21 10:08:19 -08:00
Benjamin Wang
947a3f342c
Merge pull request #612 from ivanvc/use-large-runner-for-test-workflow
github wokflow: use large runner, remove limits
2023-11-20 09:54:56 +00:00
Ivan Valdes
a7cb1eeffe
github wokflow: use large runner for race tests
Remove the resource limits from `GOGC`, and set the GitHub workflow to
run on a large runners for race tests (ubuntu 8 cores for amd64 and
coverage tests; actuated 8 cores for arm64).

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-17 11:51:27 -08:00
Marek Siarkowicz
33db274134
Merge pull request #607 from arjunmalhotra1/master
etcd: upgrade go version from 1.21.4
2023-11-14 13:20:47 +01:00
arjunmalhotra1
e6a186d631 etcd: upgrade go version from 1.21.4
To keep etcd projects up to date with the latest patch releases &
incorporate the latest security updates.

Signed-off-by: arjunmalhotra1 <am2cj@virginia.edu>
2023-11-13 19:53:47 -06:00
Benjamin Wang
7cd71e678d
Merge pull request #608 from Elbehery/refactor_goversion_workflow
refactor goversion into one location
2023-11-13 16:07:35 +00:00
Mustafa Elbehery
f62e83b46d refactor goversion into one location
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-13 15:38:10 +01:00
Benjamin Wang
d793a651ba
Merge pull request #605 from Elbehery/add_reusable_github_workflows
add: reusable github workflow template
2023-11-11 18:04:09 +00:00
Mustafa Elbehery
e12728ab62 add: reusable github workflow template
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-09 21:16:19 +01:00
Benjamin Wang
049c7a3415
Merge pull request #604 from Elbehery/fix_cmd_readme
fix: cmd readme default format
2023-11-08 18:43:22 +00:00
Mustafa Elbehery
6db6adcc12 fix: cmd readme default format
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-08 18:13:29 +01:00
Benjamin Wang
2b3dc46d02
Merge pull request #601 from ivanvc/setup-workflow-on-arm64
Enable arm64 runner
2023-11-08 16:04:56 +00:00
Ivan Valdes
4d30431503
Enable arm64 runner
Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-08 06:54:39 -08:00
Benjamin Wang
76ae8f2133
Merge pull request #597 from Elbehery/keysCommand_default_format_auto
fix:change keysCommand default format auto
2023-11-08 12:05:01 +00:00
Mustafa Elbehery
09dd42f057 fix:change keysCommand default format auto
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-08 11:20:42 +01:00
Benjamin Wang
a6406955fc
Merge pull request #598 from Elbehery/getCommand_default_format_auto
fix: change getCommand default format auto
2023-11-08 10:04:49 +00:00
Mustafa Elbehery
987e20b094 fix: change getCommand default format auto
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-08 04:16:56 +01:00
Benjamin Wang
959ab0ac88
Merge pull request #596 from Elbehery/pageItemCommand_default_format_auto
fix: change pageItemCommand default format auto
2023-11-07 15:47:17 +00:00
Mustafa Elbehery
f56cd26401 fix: change pageItemCommand default format auto
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-07 15:21:34 +01:00
Benjamin Wang
e564e69013
Merge pull request #594 from etcd-io/dependabot/go_modules/golang.org/x/sync-0.5.0
build(deps): Bump golang.org/x/sync from 0.4.0 to 0.5.0
2023-11-07 12:09:41 +00:00
dependabot[bot]
393ee7b1f2
build(deps): Bump golang.org/x/sync from 0.4.0 to 0.5.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/golang/sync/compare/v0.4.0...v0.5.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-11-07 09:39:37 +00:00
Benjamin Wang
138bf5861d
Merge pull request #593 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.14.0
build(deps): Bump golang.org/x/sys from 0.13.0 to 0.14.0
2023-11-07 09:38:52 +00:00
Benjamin Wang
89a5a72bd0
Merge pull request #595 from etcd-io/dependabot/go_modules/github.com/spf13/cobra-1.8.0
build(deps): Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
2023-11-06 16:33:25 +00:00
dependabot[bot]
839fc1cb7e
build(deps): Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 14:37:53 +00:00
dependabot[bot]
c90f37ee4a
build(deps): Bump golang.org/x/sys from 0.13.0 to 0.14.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.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-11-06 14:37:38 +00:00
Benjamin Wang
2b28986947
Merge pull request #578 from jmhbnz/complete-ownerfile-migration
Complete migration to OWNERS file
2023-10-27 10:31:03 +01:00
Benjamin Wang
1539a61ee8
Merge pull request #585 from ncabatoff/recordfreepages-2
Record the amount of free pages instead of hashmapFreeCount calculation
2023-10-27 10:28:56 +01:00
Benjamin Wang
54edcabea0
Merge pull request #591 from ahrtr/changelog_format_20231026
Update changelog format error
2023-10-27 09:19:17 +01:00
Benjamin Wang
3be121f8b4 update changelog format error
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-26 19:36:57 +01:00
Benjamin Wang
350561cd87
Merge pull request #589 from ahrtr/1.3.8_changelog_20231026
Add changelog items for 1.3.8
2023-10-26 19:34:22 +01:00
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