ravipesala commented on a change in pull request #3166: [CARBONDATA-3332] Blocked concurrent compaction and update
URL:
https://github.com/apache/carbondata/pull/3166#discussion_r269492184
##########
File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/mutation/CarbonProjectForUpdateCommand.scala
##########
@@ -99,6 +96,8 @@ private[sql] case class CarbonProjectForUpdateCommand(
val metadataLock = CarbonLockFactory
.getCarbonLockObj(carbonTable.getAbsoluteTableIdentifier,
LockUsage.METADATA_LOCK)
+ val compactionLock = CarbonLockFactory.getCarbonLockObj(carbonTable
+ .getAbsoluteTableIdentifier, LockUsage.COMPACTION_LOCK)
Review comment:
Add update lock even for delete command as well
----------------------------------------------------------------
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]
With regards,
Apache Git Services