Philipp Shergalis created IGNITE-26244:
------------------------------------------

             Summary: Enable 
AbstractPageReplacementTest.testFsyncDeltaFilesWillNotStartOnCheckpointUntilPageReplacementIsComplete
                 Key: IGNITE-26244
                 URL: https://issues.apache.org/jira/browse/IGNITE-26244
             Project: Ignite
          Issue Type: Bug
          Components: storage engines ai3
            Reporter: Philipp Shergalis


Before my changes (in main branch) compaction failed with:

{{org.apache.ignite.internal.lang.IgniteInternalException: 
org.apache.ignite.internal.lang.IgniteInternalCheckedException: IGN-CMN-65535 
Failed to stop serving file 
[file=build/work/ClockPageReplacementTest/testFsyncDeltaFilesWillNotStartOnCheckpointUntilPageReplacementIsComplete_12488193319129/db/table-1/part-0-delta-0.bin.tmp,
 delete=true] TraceId:2b8c0048}}

After my changes:

{{Caused by: java.util.concurrent.CompletionException: 
java.lang.AssertionError: Page with index 0 at offset 512 has unexpected 0 
pageId in file 
build/work/ClockPageReplacementTest/testFsyncDeltaFilesWillNotStartOnCheckpointUntilPageReplacementIsComplete_2427384443633571/db/table-1/part-0-delta-0.bin.tmp.}}

 

In both cases it attempts to work with an old file path (.tmp), even though 
delta file was already renamed. In main it fails only if we wait for compaction 
specifically (i.e. sleep in the end of the test)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to