cache client: log when index crc changes too

This commit is contained in:
Adam
2018-02-02 21:55:23 -05:00
parent 8995129595
commit a73afb7990

View File

@@ -228,6 +228,11 @@ public class CacheClient implements AutoCloseable
logger.info("Index {} has the wrong revision (our revision {}, their revision {})", index.getId(), index.getRevision(), revision);
}
}
else if (index.getCrc() != crc)
{
logger.warn("Index {} CRC has changed! (our crc {}, their crc {})",
index.getCrc(), index.getCrc(), crc);
}
else
{
// despite the index being up to date, not everything