abdullah alamoudi has uploaded a new patch set (#2). Change subject: [NO ISSUE][TX] Fix DatasetLock for Multiple Index Builds ......................................................................
[NO ISSUE][TX] Fix DatasetLock for Multiple Index Builds - user model changes: no - storage format changes: no - interface changes: no details: - The mechansim used for allowing multiple concurrent index builds does not work if the first index builds finishes before other index builds. It relied on a write lock obtained by the first index builder and released by the last index builder. This is not allowed when using ReentrantReadWriteLock and will lead to an IllegalMonitorStateException since the last thread to exit did not hold the lock. - Test cases were added. Change-Id: I3bea3ff2075d952ab13402b0c445c464b431c0f5 --- M asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/lock/DatasetLock.java A asterixdb/asterix-metadata/src/test/java/org/apache/asterix/metadata/lock/MetadataLockManagerTest.java 2 files changed, 292 insertions(+), 24 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/44/2144/2 -- To view, visit https://asterix-gerrit.ics.uci.edu/2144 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I3bea3ff2075d952ab13402b0c445c464b431c0f5 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: release-0.9.3-pre-rc Gerrit-Owner: abdullah alamoudi <[email protected]> Gerrit-Reviewer: Jenkins <[email protected]>
