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

go.mod: update goleveldb (#23417) #577

Closed
wants to merge 1 commit into from

Conversation

flywukong
Copy link
Contributor

Description

merge goleveldb changes on memory alloction

  1. Reduce memory allocation of buffer_pool and db
    util/buffer_pool, db: Reduce memory allocation syndtr/goleveldb#367
  2. snappy-4.0.0 upgrade
    Updated snappy version syndtr/goleveldb#365

Rationale

this update help reducing memory allocation of leveldb , after tested on full sync mode , the updated leveldb will reduce the memory usage by 4%-5%, and it is more stable from the memory curve

Example

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Preflight checks

  • build passed (make build)
  • tests passed (make test)
  • manual transaction test passed

Already reviewed by

...

Related issues

... reference related issue #'s here ...

@flywukong flywukong closed this Nov 23, 2021
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.

2 participants