Caideyipi opened a new pull request, #17832:
URL: https://github.com/apache/iotdb/pull/17832

   ### What
   - Make `testAcquireReadLockWhileWriting` wait until the reader is actually 
blocked by the held write lock before releasing it.
   - Wait for the reader thread to finish with a latch and release the write 
lock in failure paths.
   
   ### Testing
   - `mvn -pl iotdb-core/datanode spotless:apply`
   - `javac --release 8 ... StampedWriterPreferredLock.java 
StampedWriterPreferredLockTest.java && java ... org.junit.runner.JUnitCore 
org.apache.iotdb.db.metadata.mtree.lock.StampedWriterPreferredLockTest`
   
   The full Maven datanode test command is currently blocked locally by 
unrelated datanode generated-source/test compilation errors.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to