ShreelekhyaG commented on a change in pull request #3841:
URL: https://github.com/apache/carbondata/pull/3841#discussion_r458094901
##########
File path: core/src/main/java/org/apache/carbondata/core/view/MVManager.java
##########
@@ -143,9 +143,9 @@ public void createSchema(String databaseName, MVSchema
viewSchema)
/**
* Drops the mv schema from storage
*
- * @param viewName index name
+ * @param viewName mv name
*/
- public void deleteSchema(String databaseName, String viewName) throws
IOException {
+ public synchronized void deleteSchema(String databaseName, String viewName)
throws IOException {
Review comment:
added so that another thread could skip some steps. as this occurs only
few times when multiple threads run, removing it.
----------------------------------------------------------------
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:
[email protected]