[fix](Nereids) fix sql cache return old value when truncate partition#34698
Merged
morrySnow merged 1 commit intoapache:masterfrom May 13, 2024
Merged
Conversation
Contributor
924060929
commented
May 11, 2024
- fix sql cache return old value when truncate partition
- use expire_sql_cache_in_fe_second to control the expire time of the sql cache which in the NereidsSqlCacheManager
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
45f8994 to
ae1dca5
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 41762 ms |
TPC-DS: Total hot run time: 187802 ms |
starocean999
approved these changes
May 11, 2024
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
morrySnow
approved these changes
May 13, 2024
| * This parameter distinguishes between offline and real-time updates | ||
| */ | ||
| @ConfField(mutable = true, masterOnly = false) | ||
| public static int cache_last_version_interval_second = 30; |
Contributor
There was a problem hiding this comment.
add description in annotation
| callbackClassString = "org.apache.doris.common.NereidsSqlCacheManager$UpdateConfig" | ||
| ) | ||
| public static int cache_last_version_interval_second = 30; | ||
| public static int expire_sql_cache_in_fe_second = 300; |
Contributor
There was a problem hiding this comment.
add description in annotation
nextdreamblue
pushed a commit
to nextdreamblue/doris
that referenced
this pull request
May 13, 2024
…apache#34698) 1. fix sql cache return old value when truncate partition 2. use expire_sql_cache_in_fe_second to control the expire time of the sql cache which in the NereidsSqlCacheManager
ByteYue
pushed a commit
to ByteYue/doris
that referenced
this pull request
May 15, 2024
…apache#34698) 1. fix sql cache return old value when truncate partition 2. use expire_sql_cache_in_fe_second to control the expire time of the sql cache which in the NereidsSqlCacheManager
yiguolei
pushed a commit
that referenced
this pull request
May 18, 2024
…#34698) 1. fix sql cache return old value when truncate partition 2. use expire_sql_cache_in_fe_second to control the expire time of the sql cache which in the NereidsSqlCacheManager
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.