Skip to content
Snippets Groups Projects
Commit c86ee333 authored by Greyson Parrelli's avatar Greyson Parrelli
Browse files

Skip new validations in old storage sync job.

parent 60690208
Branches
Tags
No related merge requests found
......@@ -192,7 +192,7 @@ public class StorageSyncJob extends BaseJob {
needsForcePush = true;
}
StorageSyncValidations.validate(writeOperationResult, remoteManifest, needsForcePush);
StorageSyncValidations.validate(writeOperationResult, Optional.absent(), needsForcePush);
Log.i(TAG, "[Remote Newer] MergeResult :: " + mergeResult);
......@@ -256,7 +256,7 @@ public class StorageSyncJob extends BaseJob {
Log.i(TAG, String.format(Locale.ENGLISH, "[Local Changes] Local changes present. %d updates, %d inserts, %d deletes, account update: %b, account insert: %b.", pendingUpdates.size(), pendingInsertions.size(), pendingDeletions.size(), pendingAccountUpdate.isPresent(), pendingAccountInsert.isPresent()));
WriteOperationResult localWrite = localWriteResult.get().getWriteResult();
StorageSyncValidations.validate(localWrite, remoteManifest, needsForcePush);
StorageSyncValidations.validate(localWrite, Optional.absent(), needsForcePush);
Log.i(TAG, "[Local Changes] WriteOperationResult :: " + localWrite);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment