Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ExecutionContext.isDirty() is not very accurate [BATCH-1566] #2020
Chris French commented
Should the fix check if the flag is already dirty as well before setting it to false in cases where the put is the same value as exists? If the isDirty flag is already true shouldn't it remain dirty/true? I just noticed this in the SimpleStepExecutionSplitter where the isDirty flag on restart is false. In our case the previous execution failed in the partition method so the partition method needs to be called again to set the contexts up. Seems like this dirty flag is the culprit.