onExecutionFailure
should be called before returning from run
if backup is not valid
#6420
Labels
Milestone
After this PR #6301, Backup operation can be read directly as object without reading it first as
Data
temporary.However after the backup operation is read (deserialized) as object, if it is decided (at
Backup::beforeRun
sovalid
field isfalse
) that current node is not backup of this replica anymore,Backup::run
returns silently. But before it returns, it should callonExecutionFailure
of the backup operation otherwise it causes native memory leaks due to undisposed native memory.The text was updated successfully, but these errors were encountered: