DomGarguilo commented on a change in pull request #2320:
URL: https://github.com/apache/accumulo/pull/2320#discussion_r753293696
##########
File path:
server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
##########
@@ -1421,6 +1417,26 @@ private void closeConsistencyCheck() {
// TODO check lastFlushID and lostCompactID - ACCUMULO-1290
}
+ private void compareToDataInMemory(TabletMetadata tabletMetadata) {
+ if
(!tabletMetadata.getFilesMap().equals(getDatafileManager().getDatafileSizes()))
{
+ String msg = "Data files in " + extent + " differ from in-memory data "
+ + tabletMetadata.getFilesMap() + " " +
getDatafileManager().getDatafileSizes();
+ log.error(msg);
+ throw new RuntimeException(msg);
Review comment:
Okay sounds good, I'll remove the exception for now and create a follow
on ticket.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]