Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CacheKv optimizations #113

Merged
merged 8 commits into from
Dec 15, 2022
Merged

CacheKv optimizations #113

merged 8 commits into from
Dec 15, 2022

Conversation

BrandonWeng
Copy link
Contributor

@BrandonWeng BrandonWeng commented Dec 14, 2022

Describe your changes and provide context

Cherry picking changes here:

  • #14168 perf: store/cachekv: preallocate kvL in dirtyItems which gets appended too
  • #10024 fix!: store/cachekv: reduce growth factor for iterator ranging using binary searches #10024

Testing performed to validate your change

Ran a cluster
image

@@ -413,19 +418,21 @@ func (store *Store) clearUnsortedCacheSubset(unsorted []*kv.Pair, sortState sort
if item.Value == nil {
// deleted element, tracked by store.deleted
// setting arbitrary value
// TODO: Don't ignore this error.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@BrandonWeng BrandonWeng merged commit a7c6045 into main Dec 15, 2022
@BrandonWeng BrandonWeng deleted the bweng-debug-check-tx branch December 15, 2022 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants