Skip to content

Commit

Permalink
Add comment for warning
Browse files Browse the repository at this point in the history
  • Loading branch information
asloobq committed Oct 17, 2024
1 parent a890446 commit 78e61d0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ private OptOutStoreSnapshot updateIndexInternal(IndexUpdateContext iuc) {
} else if (numPartitions > 1) {
if (this.iteration != 0) {
final String errorMsg = "Should not load more than 1 partition at a time, unless during service bootstrap. Current iteration " + this.iteration;
// Leaving this as a warning as this condition is true in production
LOGGER.warn(errorMsg);
}
return this.processPartitions(iuc);
Expand Down

0 comments on commit 78e61d0

Please sign in to comment.