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

Storage Engine: put DeviceCache into the total memory of the storage engine #12016

Merged
merged 6 commits into from
Feb 6, 2024

Conversation

caozj1011
Copy link
Contributor

@caozj1011 caozj1011 commented Feb 1, 2024

Description

This PR has the following optimizations:

  1. The number limit of DevciePathCache is changed to the memory size limit, which is managed by the storage engine
  2. Deserialize the deviceId.intern() of resource, replaced by DevciePathCache
  3. deviceId.intern() of createtimeIndex is replaced by DevciePathCache
  4. optimize storage engine memory allocate code ,it will be use default value if config value small than 0.
  5. create PartialPath acquire from DevicePathCache when deserialize from wal

@caozj1011 caozj1011 changed the title count DeviceCache into the total memory of the storage engine Storage Engine: put DeviceCache into the total memory of the storage engine Feb 1, 2024
@caozj1011 caozj1011 marked this pull request as ready for review February 2, 2024 02:01
@HTHou HTHou merged commit 479122a into apache:master Feb 6, 2024
36 checks passed
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