Skip to content

[To rel/0.11][IOTDB-1068] Improve the time series metadata cache size#2314

Merged
qiaojialin merged 2 commits intorel/0.11from
TimeSeriesMetadataCacheBug
Dec 24, 2020
Merged

[To rel/0.11][IOTDB-1068] Improve the time series metadata cache size#2314
qiaojialin merged 2 commits intorel/0.11from
TimeSeriesMetadataCacheBug

Conversation

@JackieTien97
Copy link
Contributor

Currently, we add the entry size each time we put it into cache map. However, if the key already exists in cache, we will add the size again which will cause the cache used size is higher than the actual size.

Also, in this PR, I improve the process of deserializing time series metadata cache from disk.

@JackieTien97 JackieTien97 changed the title [IOTDB-1068] Fix Time series metadata cache bug [To rel/0.11][IOTDB-1068] Fix Time series metadata cache bug Dec 23, 2020
@JackieTien97 JackieTien97 added the bug Something isn't working label Dec 23, 2020
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 7 Code Smells

No Coverage information No Coverage information
39.2% 39.2% Duplication

warning The version of Java (1.8.0_252) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 11.
Read more here

@qiaojialin qiaojialin merged commit a1ca00a into rel/0.11 Dec 24, 2020
@qiaojialin qiaojialin deleted the TimeSeriesMetadataCacheBug branch December 24, 2020 02:41
@jixuan1989 jixuan1989 changed the title [To rel/0.11][IOTDB-1068] Fix Time series metadata cache bug [To rel/0.11][IOTDB-1068] Improve the time series metadata cache size Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants