Skip to content

Commit 81646aa

Browse files
authored
Merge pull request #1125 from IABTechLab/aaq-UID2-3393-remove-assertions-warning
Change optout loading exception to a warning temporarily
2 parents ce1ab8b + d745cc7 commit 81646aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/uid2/operator/store/CloudSyncOptOutStore.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,8 @@ else if (OptOutUtils.isPartitionFile(f))
545545
if (tsOld != Instant.EPOCH && tsNew != Instant.EPOCH && !tsOld.isBefore(tsNew)) {
546546
final String errorMsg = "Last partition timestamp of indexed files " + tsOld.getEpochSecond()
547547
+ " is after last partition of non-indexed files " + tsNew.getEpochSecond();
548-
LOGGER.error(errorMsg);
549-
throw new IllegalStateException(errorMsg);
548+
// Leaving this as a warning until issue is fixed permanently
549+
LOGGER.warn(errorMsg);
550550
}
551551
// if there are new partitions in this update, let index delete some in-mem delta caches that is old
552552
if (tsNew != Instant.EPOCH) {

0 commit comments

Comments
 (0)