fdb-record-layer icon indicating copy to clipboard operation
fdb-record-layer copied to clipboard

RemoteFetchSplitRecordsTest.indexPrefetchManySplitRecordTest sometimes times out

Open ohadzeliger opened this issue 7 months ago • 0 comments

The above mentioned test fails sporadically in PRs, with "transaction too old":

RemoteFetchSplitRecordsTest > indexPrefetchManySplitRecordTest(IndexFetchMethod, CursorStreamingMode) > com.apple.foundationdb.record.provider.foundationdb.RemoteFetchSplitRecordsTest.indexPrefetchManySplitRecordTest(IndexFetchMethod, CursorStreamingMode)[3] FAILED
    com.apple.foundationdb.record.RecordCoreException: com.apple.foundationdb.FDBException: Transaction is too old to perform reads or be committed
        at app//com.apple.foundationdb.record.RecordCursorIterator.hasNext(RecordCursorIterator.java:88)
        at app//com.apple.foundationdb.record.provider.foundationdb.RemoteFetchTestBase.verifyData(RemoteFetchTestBase.java:214)
        at app//com.apple.foundationdb.record.provider.foundationdb.RemoteFetchTestBase.executeAndVerifyData(RemoteFetchTestBase.java:176)
        at app//com.apple.foundationdb.record.provider.foundationdb.RemoteFetchTestBase.executeAndVerifyData(RemoteFetchTestBase.java:166)
        at app//com.apple.foundationdb.record.provider.foundationdb.RemoteFetchSplitRecordsTest.indexPrefetchManySplitRecordTest(RemoteFetchSplitRecordsTest.java:102)

        Caused by:
        com.apple.foundationdb.FDBException: Transaction is too old to perform reads or be committed
            at app//com.apple.foundationdb.NativeFuture.Future_getError(Native Method)
            at app//com.apple.foundationdb.FutureResults.getIfDone_internal(FutureResults.java:47)
            at app//com.apple.foundationdb.FutureResults.getIfDone_internal(FutureResults.java:28)
            at app//com.apple.foundationdb.NativeFuture.marshalWhenDone(NativeFuture.java:63)
            at app//com.apple.foundationdb.async.TaskNotifyingExecutor$Notifier.run(TaskNotifyingExecutor.java:77)
            at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
            at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
            at [email protected]/java.lang.Thread.run(Thread.java:829)

ohadzeliger avatar Jul 19 '24 17:07 ohadzeliger