Commit Graph

20783 Commits

Author SHA1 Message Date
Benjamin Wang
8bd34cf236 Merge pull request #17285 from siyuanfoundation/revert
Revert #17228
2024-01-19 18:16:55 +00:00
Benjamin Wang
6b57b55208 Merge pull request #17274 from ivanvc/update-go-to-1.21.6
dependency: upgrade go to 1.21.6
2024-01-19 18:01:42 +00:00
Siyuan Zhang
30b242f800 Revert "add test cases of duplicate keys in one tx."
This reverts commit 8d29b245a3.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-01-19 08:58:48 -08:00
Siyuan Zhang
93afd8e430 Revert "add key dedupe when a write buffer writeback to an empty read buffer bucket."
This reverts commit 971a4f57cc.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-01-19 08:58:27 -08:00
Ivan Valdes
d5d7ef7f91 dependency: upgrade go to 1.21.6
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-01-18 14:12:19 -08:00
Benjamin Wang
e5665a7ef2 Merge pull request #17271 from ahrtr/changelog_34_20240118
Add changelog for 3.4.30 to cover the nil pointer log panicking issue
2024-01-18 18:03:15 +00:00
Benjamin Wang
69f8699d23 Merge pull request #17253 from etcd-io/dependabot/github_actions/actions/upload-artifact-4.1.0
build(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
2024-01-18 12:10:30 +00:00
Benjamin Wang
82937fbdc0 Add changelog for 3.4.30 to cover the nil pointer log panicking issue
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-18 10:27:09 +00:00
Benjamin Wang
8fb4c41251 Merge pull request #17264 from jmhbnz/weekly-dependency-update
[2024-01-15] Bump dependencies identified by dependabot
2024-01-18 09:42:02 +00:00
James Blair
8cfd1f550b depdendency: bump golang.org/x/net from 0.19.0 to 0.20.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-01-17 22:33:22 +13:00
James Blair
7a7d4684df depdendency: bump github.com/prometheus/common from 0.45.0 to 0.46.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-01-17 22:28:43 +13:00
Benjamin Wang
e3c70c8a99 Merge pull request #17249 from ahrtr/meta_bucket_20240115
Replace `CreateBucket` with `CreateBucketIfNotExists`
2024-01-16 10:22:54 +00:00
Benjamin Wang
690916f018 replace CreateBucket with CreateBucketIfNotExists
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-16 09:40:20 +00:00
dependabot[bot]
044e17ba5b build(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](c7d193f32e...1eb3cb2b3e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 17:15:00 +00:00
Benjamin Wang
4bc55e5208 Merge pull request #17204 from rahulbapumore/branch1
mvcc: Printing etcd backend database related metrics inside scheduleCompaction function
2024-01-15 15:37:08 +00:00
Benjamin Wang
fbcfd4e942 Merge pull request #17244 from ahrtr/raft_changelog_20240115
Migrate the raft changes to raft's changelog
2024-01-15 13:29:51 +00:00
Rahul More
21bbc82710 mvcc: Printing etcd backend database related metrics inside
scheduleCompaction function

To improve traceability of backend database usage, Added below parameter
related to backend database usage metrics inside scheduledCompaction
function.
current-db-size-bytes
current-db-size
current-db-size-in-use-bytes
current-db-size-in-use

Signed-off-by: Rahul More <rahulbapumore@gmail.com>
2024-01-15 17:36:38 +05:30
Benjamin Wang
6abc942abe Migrate the raft changes to raft's changelog
refer to https://github.com/etcd-io/raft/pull/125

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-15 10:40:56 +00:00
Benjamin Wang
c8b4b168af Merge pull request #17235 from fuweid/fix-17223
integration: deflake TestMaintenanceSnapshotCancel
2024-01-14 13:24:50 +00:00
Benjamin Wang
9ded10ec76 Merge pull request #17237 from ahrtr/bbolt_logger_20240112
Specify logger for bbolt
2024-01-13 11:03:14 +00:00
Benjamin Wang
10bf636f0e Merge pull request #17229 from iiamabby/yamllint-install
Ensure bin/python directory is cleaned after install
2024-01-13 10:49:59 +00:00
Benjamin Wang
ed994248e0 Merge pull request #17228 from siyuanfoundation/txBuf1
Fix tx buffer inconsistency if there are duplicate keys in one tx.
2024-01-12 18:34:35 +00:00
Benjamin Wang
cfbf672b3c specify logger for bbolt
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-12 16:38:18 +00:00
Marek Siarkowicz
40f22e9319 Merge pull request #17176 from YaoC/fix-learner-metric
server: fix learner metric incorrect issue
2024-01-12 17:37:46 +01:00
Benjamin Wang
8b9e1799ad Merge pull request #17236 from ahrtr/bump_core_dependencies_20240112
Bump core dependencies bbolt and raft
2024-01-12 16:29:18 +00:00
Benjamin Wang
cf648e8503 bump raft to v3.6.0-alpha.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-12 15:30:11 +00:00
Benjamin Wang
f2ada58144 bump bbolt to 1.4.0-alpha.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-12 15:27:48 +00:00
Benjamin Wang
b2cc2fb6e5 Merge pull request #17234 from ahrtr/contribution_20240112
Update contributing guide to ensure there is an associated issue for each PR
2024-01-12 12:05:02 +00:00
Wei Fu
fdf1e28a3f integration: deflake TestMaintenanceSnapshotCancel
Unlike SnapshotWithVersion, the client.Snapshot doesn't wait for first
response. The server could open db after we close connection or shutdown
the server. We can read few bytes to ensure server opens boltdb.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-12 19:24:10 +08:00
Benjamin Wang
f7d264d1ef update contributing guide to ensure there is an associated issue for each PR
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-12 10:36:10 +00:00
YaoC
f7ab7adf29 server: fix learner metric incorrect issue
Signed-off-by: YaoC <chengyao09@hotmail.com>
2024-01-12 09:36:33 +00:00
=
a9b5768312 Ensure bin/python directory is cleaned after install
Co-authored-by: James Blair <mail@jamesblair.net>
Signed-off-by: = <abby.crimlis@outlook.com>
2024-01-12 09:41:06 +13:00
Siyuan Zhang
971a4f57cc add key dedupe when a write buffer writeback to an empty read buffer bucket.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-01-11 11:31:09 -08:00
Siyuan Zhang
8d29b245a3 add test cases of duplicate keys in one tx.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-01-11 11:31:03 -08:00
Benjamin Wang
b3bf59a355 Merge pull request #17195 from siyuanfoundation/txBuf1
Fix delete inconsistencies in read buffer
2024-01-11 08:21:47 +00:00
Siyuan Zhang
db61c9695d commit bbolt transaction if there is any pending deleting operations
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-01-10 09:33:21 -08:00
Siyuan Zhang
b3a5307640 add tests to test tx delete consistency.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-01-10 09:33:13 -08:00
Benjamin Wang
85bc29388a Merge pull request #17209 from etcd-io/dependabot/github_actions/github/codeql-action-3.23.0
build(deps): bump github/codeql-action from 3.22.12 to 3.23.0
2024-01-10 10:26:20 +00:00
Benjamin Wang
8e2ba574e4 Merge pull request #17174 from jmhbnz/adopt-kubernetes-priorities
Adopt kubernetes issue priorities
2024-01-10 10:18:00 +00:00
Benjamin Wang
a73078928d Merge pull request #17219 from devincd/fix-usage
Fix Struct Config has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
2024-01-10 09:47:05 +00:00
Benjamin Wang
75f8d42f7a Merge pull request #17225 from sharathsivakumar/shsi/dep_mgmt
docs: update rotation worksheet
2024-01-10 07:18:47 +00:00
Sharath Sivakumar
7c87fc9aa7 docs: update rotation worksheet
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-01-09 21:22:15 +01:00
Benjamin Wang
61c70c0d96 Merge pull request #17220 from sharathsivakumar/shsi/bump_deps_12
Bump dependencies manually
2024-01-09 19:25:47 +00:00
Benjamin Wang
1800796359 Merge pull request #17221 from fuweid/update-changelog
CHANGELOG: update changes for v3.4.29
2024-01-09 19:04:36 +00:00
Sharath Sivakumar
28f4c6fef6 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.1 to 2.19.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-01-09 16:26:47 +01:00
Wei Fu
6706d9de2a CHANGELOG: update changes for v3.4.29
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-09 23:22:18 +08:00
Sharath Sivakumar
98646057d6 dependency: bump golang.org/x/sys from 0.15.0 to 0.16.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-01-09 16:04:19 +01:00
devincd
931687f87e fix Struct Config has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Signed-off-by: devincd <505259926@qq.com>
2024-01-09 17:42:59 +08:00
dependabot[bot]
ac6369d3a7 build(deps): bump github/codeql-action from 3.22.12 to 3.23.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.22.12 to 3.23.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](012739e508...e5f05b81d5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 17:11:17 +00:00
Marek Siarkowicz
a2eb17c809 Merge pull request #17199 from serathius/dont-flock
Don't flock snapshot files
2024-01-08 15:03:29 +01:00