Commit Graph

1790 Commits (main)

Author SHA1 Message Date
ArkaSaha30 e9f1b0d0d7
[main] Bump go toolchain to 1.23.1
This commit will bump go toolchain to 1.23.1

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-09-10 22:07:54 +05:30
dependabot[bot] d70d6d1082
build(deps): Bump golang.org/x/sys from 0.24.0 to 0.25.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/sys/compare/v0.24.0...v0.25.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-09-09 14:49:05 +00:00
Erik Kalkoken 0cecda66e0
Add info on how to iterate over existing buckets (#828)
* Add info on how to list existing top-level buckets

Signed-off-by: ErikKalkoken <erik.kalkoken@gmail.com>
2024-08-29 13:47:38 +01:00
Benjamin Wang 6e354be1be
Merge pull request #826 from etcd-io/change_1.3.11_release_date
Update release date of 1.3.11
2024-08-21 11:05:30 +01:00
Benjamin Wang 5baf4d2c19 Update release date of 1.3.11
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-08-21 09:40:58 +01:00
Benjamin Wang c74748e44a
Merge pull request #786 from tjungblu/fl_iface_tests
add freelist interface unit tests
2024-08-20 12:07:59 +01:00
Benjamin Wang bb1d9bee3f
Merge pull request #824 from ahrtr/changelog_1.3.11
Add changelog for 1.3.11
2024-08-20 12:03:01 +01:00
Benjamin Wang 7d5cd63a8f add changelog for 1.3.11
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-08-20 10:33:26 +01:00
Thomas Jungblut 3ce0fd0ad5 add freelist interface unit tests
adding more unit tests for better coverage of the interface.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-08-20 10:44:26 +02:00
Benjamin Wang e6b4ed7812
Merge pull request #819 from ahrtr/rollback_alloc_20240812
Rollback alloc map: remove all page ids which are allocated by the txid
2024-08-19 15:30:33 +01:00
Benjamin Wang 6791db650b
Merge pull request #821 from henrybear327/go/1.23.0
[main] Bump go toolchain to 1.23.0
2024-08-16 19:21:49 +01:00
Chun-Hung Tseng a4adf65d6e
Fix linter reported issues
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-16 17:14:17 +02:00
Chun-Hung Tseng 406670b70e Update golangci-lint to v1.60.1
Reference:
- https://github.com/golangci/golangci-lint/releases/tag/v1.60.1

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-15 00:28:10 +02:00
Chun-Hung Tseng e52dec6c83 Bump go toolchain to 1.23.0
Reference:
- https://github.com/etcd-io/etcd/issues/18443

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-15 00:00:45 +02:00
Benjamin Wang ee5b5967b6
Merge pull request #818 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.24.0
build(deps): Bump golang.org/x/sys from 0.23.0 to 0.24.0
2024-08-12 18:41:14 +01:00
Benjamin Wang 257eadc054 rollback alloc map: remove all page ids which are allocated by the txid
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-08-12 16:05:21 +01:00
dependabot[bot] 5831e3eb62
build(deps): Bump golang.org/x/sys from 0.23.0 to 0.24.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.23.0...v0.24.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-08-12 14:18:53 +00:00
Benjamin Wang 9e2c06fb00
Merge pull request #814 from henrybear327/go/1.22.6
go version bump from 1.22.5 to 1.22.6
2024-08-08 22:23:45 +01:00
Chun-Hung Tseng f2559dcecb
go version bump from 1.22.5 to 1.22.6
Reference: https://github.com/etcd-io/etcd/issues/18419
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:54:03 +02:00
Jeffrey Sica 4272a9c897
Update GitHub runners to use ubuntu-latest since they have nested virt (#811)
* update github runners to use ubuntu-latest since they are 4c and have nested virt

Signed-off-by: Jeffrey Sica <me@jeefy.dev>
2024-08-07 14:53:55 +01:00
Benjamin Wang f777377924
Merge pull request #804 from tjungblu/duplicated_code
Dedupe Reload/NoSyncReload, prefer empty instead of nil init
2024-08-06 13:04:45 +01:00
Thomas Jungblut 33b71a50af Dedupe Reload/NoSyncReload, prefer empty instead of nil init
Reload and NoSyncReload have duplicated code, this unifies both
for later refactoring.

This PR is split from #786, where the tests found differences on reloading
and nil/empty initializations. Added some more clarifications in godocs
for certain panic behavior and expected returns on the interface.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-08-06 11:20:34 +02:00
Benjamin Wang 6e95525b99
Merge pull request #808 from etcd-io/dependabot/github_actions/actions/setup-go-5.0.2
build(deps): Bump actions/setup-go from 5.0.0 to 5.0.2
2024-08-06 08:27:10 +01:00
Benjamin Wang 0b93e57a4f
Merge pull request #810 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.23.0
build(deps): Bump golang.org/x/sys from 0.22.0 to 0.23.0
2024-08-06 07:21:19 +01:00
dependabot[bot] f950a88148
build(deps): Bump golang.org/x/sys from 0.22.0 to 0.23.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.23.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-08-05 20:49:58 +00:00
Benjamin Wang 04b9397618
Merge pull request #809 from etcd-io/dependabot/go_modules/golang.org/x/sync-0.8.0
build(deps): Bump golang.org/x/sync from 0.7.0 to 0.8.0
2024-08-05 21:48:56 +01:00
dependabot[bot] 6f8410bbb0
build(deps): Bump actions/setup-go from 5.0.0 to 5.0.2
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...0a12ed9d6a)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 20:38:04 +00:00
Benjamin Wang 7b6185ae2c
Merge pull request #807 from etcd-io/dependabot/github_actions/actions/checkout-4.1.7
build(deps): Bump actions/checkout from 4.1.1 to 4.1.7
2024-08-05 21:37:09 +01:00
Benjamin Wang 38a0aa2b0c
Merge pull request #806 from etcd-io/dependabot/github_actions/golangci/golangci-lint-action-6.1.0
build(deps): Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
2024-08-05 20:47:13 +01:00
dependabot[bot] 88233131eb
build(deps): Bump golang.org/x/sync from 0.7.0 to 0.8.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sync/compare/v0.7.0...v0.8.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>
2024-08-05 14:54:02 +00:00
dependabot[bot] 8a64275c92
build(deps): Bump actions/checkout from 4.1.1 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.7.
- [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/v4.1.1...692973e3d937129bcbf40652eb9f2f61becf3332)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 14:44:48 +00:00
dependabot[bot] 6f4e0e5c5c
build(deps): Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](a4f60bb28d...aaa42aa062)

---
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-08-05 14:44:44 +00:00
Benjamin Wang 02e13c1341
Merge pull request #803 from ivanvc/set-top-level-permissions-to-github-workflows
github/workflows: set top-level file permissions
2024-08-02 20:08:02 +01:00
Ivan Valdes 83aba89820
github/workflows: set top-level file permissions
The gh-workflow-approve and tests_windows actions didnt't specify
top-level permissions. This is an improvement towards having a better
OpenSSF Scorecard Report score.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-08-02 10:38:44 -07:00
Benjamin Wang b87f244ec2
Merge pull request #801 from ivanvc/pin-github-action-dependencies
github/workflows: pin dependency versions
2024-07-31 09:28:59 +01:00
Ivan Valdes 5378ea12fd
github/workflows: pin dependency versions
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-07-30 08:58:49 -07:00
Benjamin Wang df83d9d752
Merge pull request #792 from ahrtr/freelist_rollback_20240709
Panicking when a write txn tries to free a page which was allocated by itself
2024-07-30 13:32:08 +01:00
Benjamin Wang da1c83cbeb panicking when a write txn tries to free a page which was allocated by itself
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-07-30 08:41:22 +01:00
Benjamin Wang 49c7697344
Merge pull request #794 from tjungblu/791_inconsistency
ensure hashmap init clears maps
2024-07-30 08:37:25 +01:00
Benjamin Wang 4a77dd9481
Merge pull request #793 from tjungblu/nightly_bench
add nightly benchmark
2024-07-30 08:24:18 +01:00
Thomas Jungblut 2f15c08377 add nightly benchmark
This should ensure we don't creep little percentages over the course of
multiple commits into main, compared to the last release branch.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-07-23 09:42:08 +02:00
Benjamin Wang 2e6b37b6d2
Merge pull request #796 from ahrtr/rollback_test_20240717
Add test case to verify freelist in case of TXN rollback
2024-07-22 16:16:43 +01:00
Thomas Jungblut f4de460a1b add testcases for hashmap init
This also rectifies a bunch of nil/empty differences between the
implementation that show up during init and page releases.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-07-22 16:52:06 +02:00
Thomas Jungblut ce50f55c6e ensure hashmap init clears maps
This reorders some statements in the hashmap initialization to ensure we
always start fresh, even when no pageids were passed to it.

fixes #791

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-07-22 16:20:01 +02:00
Benjamin Wang 7b031d53c9 add test case to verify freelist in case of TXN rollback
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-07-22 14:17:46 +01:00
Benjamin Wang d72e6bf8c1
Merge pull request #788 from ahrtr/simply_free_20240708
No need to handle freelist as a specical case when freeing a page
2024-07-22 12:54:30 +01:00
Benjamin Wang d1cd0deee6 No need to handle freelist as a specical case when freeing a page
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-07-17 13:25:50 +01:00
Benjamin Wang efc3eb649b
Merge pull request #775 from tjungblu/refactor_freelists
introduce a freelist interface
2024-07-16 09:58:47 +01:00
Thomas Jungblut 62e81c036f introduce a freelist interface
This introduces an interface for the freelist, splits it into two concrete
implementations.

fixes etcd-io#773

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-07-09 10:41:35 +02:00
Benjamin Wang 46d9b10bd7
Merge pull request #790 from etcd-io/dependabot/go_modules/golang.org/x/sys-0.22.0
build(deps): Bump golang.org/x/sys from 0.21.0 to 0.22.0
2024-07-08 18:36:02 +01:00