Iterator<IRBTNode<DataRecordIdentifier>> iterator = idNodeTree
.iterator();
int count = 0;
while (iterator.hasNext()) {
HeapIdNode heapIdNode = (HeapIdNode) iterator.next();
if (!heapIdNode.isColorSetted()) {
LOGGER.error("color not set " + heapIdNode.getElement());
}
count++;
if (count % 1000 == 999) {
dataManager.flush();
}