-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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](multi-catalog)fix s3 check, complete catalog properties #20591
Conversation
run buildall |
run buildall |
1 similar comment
run buildall |
fe/fe-core/src/main/java/org/apache/doris/datasource/hive/HiveMetaStoreCache.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/datasource/property/constants/MinioProperties.java
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/fs/remote/dfs/DFSFileSystem.java
Outdated
Show resolved
Hide resolved
I have no more comments, just fix the job conf cache refreshing problem. |
@@ -153,6 +154,8 @@ public HivePartition load(PartitionCacheKey key) throws Exception { | |||
* generate a filecache and set to fileCacheRef | |||
*/ | |||
public void setNewFileCache() { | |||
// init or refresh job conf | |||
jobConf = getJobConf(); |
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.
I'm not sure if this change will bring race condition or not. Because the reference of jobConf in getFilesByTransaction and loadFiles may be changed at any time. But I don't think it's a big problem since the refresh frequency is very low.
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 synchronized for getJobConf to avoid this.
PR approved by anyone and no changes requested. |
run buildall |
1 similar comment
run buildall |
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.
LGTM
run buildall |
PR approved by at least one committer and no changes requested. |
run buildall |
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.
LGTM
Proposed changes
stability and some fixes
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...