-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[fix](Nereids) fix sql cache return old value when truncate partition #34698
[fix](Nereids) fix sql cache return old value when truncate partition #34698
Conversation
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. |
run buildall |
45f8994
to
ae1dca5
Compare
run buildall |
TPC-H: Total hot run time: 41762 ms
|
TPC-DS: Total hot run time: 187802 ms
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
@@ -1314,12 +1314,18 @@ public class Config extends ConfigBase { | |||
* Minimum interval between last version when caching results, | |||
* This parameter distinguishes between offline and real-time updates | |||
*/ | |||
@ConfField(mutable = true, masterOnly = false) | |||
public static int cache_last_version_interval_second = 30; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add description in annotation
@ConfField( | ||
mutable = true, | ||
masterOnly = false, | ||
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add description in annotation
…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
…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
…#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