Login  Register

[GitHub] [carbondata] Indhumathi27 commented on a change in pull request #4059: [CARBONDATA-4092] Fix concurrent issues in delete segment API's and MV flow

Posted by GitBox on Dec 21, 2020; 6:41am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-vikramahuja1001-opened-a-new-pull-request-4059-WIP-Fix-concurrent-issues-in-deletes-tp104954p105000.html


Indhumathi27 commented on a change in pull request #4059:
URL: https://github.com/apache/carbondata/pull/4059#discussion_r546534354



##########
File path: core/src/main/java/org/apache/carbondata/core/view/MVProvider.java
##########
@@ -540,7 +540,7 @@ private void checkAndReloadSchemas(MVManager viewManager, boolean touchFile)
       }
     }
 
-    private void touchMDTFile() throws IOException {
+    private synchronized void touchMDTFile() throws IOException {

Review comment:
       @ajantha-bhat yes, it is required. On second MV creation, have to update last modified time of schema INdex file




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]