sashapolo commented on code in PR #3544:
URL: https://github.com/apache/ignite-3/pull/3544#discussion_r1550190506
##########
modules/storage-rocksdb/src/test/java/org/apache/ignite/internal/storage/rocksdb/instance/SharedRocksDbInstanceTest.java:
##########
@@ -277,6 +281,38 @@ void testConcurrentSortedIndexReadAndCreate() {
assertThat(getIndexFuture.join().stream().map(IndexColumnFamily::indexId).collect(toList()),
contains(0));
}
+ @RepeatedTest(10)
+ void testConcurrentSortedIndexDeleteAndRead() {
Review Comment:
There was concurrency previously, because we removed the index from the map
after the flush, not before. I used this test to reproduce the issue. Looks
like this is not needed now, I've simplified the test
--
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]