add reset of previous sync backup on ddl execution
@@ -1362,6 +1362,7 @@ public class ODatabaseDocumentDistributed extends ODatabaseDocumentEmbedded {
(ODDLContextImpl) localDistributedDatabase.popTxContext(confirmSentRequest);
OAbstractPaginatedStorage storage = (OAbstractPaginatedStorage) getStorage().getUnderlying();
if (apply) {
+ ((ODistributedDatabaseImpl) localDistributedDatabase).resetLastValidBackup();
if (context.getStatus() == SUCCESS) {
OTxMetadataHolder preMetadata = localDistributedDatabase.commit(context.getPreChangeId());
