Chinmay Soman
09/05/2019, 9:32 PMSeunghyun
09/05/2019, 9:51 PMif (newCrc == existingCrc) {
<http://LOGGER.info|LOGGER.info>(
"New segment crc '{}' is the same as existing segment crc for segment '{}'. Updating ZK metadata without refreshing the segment.",
newCrc, segmentName);
// NOTE: even though we don't need to refresh the segment, we should still update creation time and refresh time
// (creation time is not included in the crc)
existingSegmentZKMetadata.setCreationTime(segmentMetadata.getIndexCreationTime());
existingSegmentZKMetadata.setRefreshTime(System.currentTimeMillis());
if (!_pinotHelixResourceManager.updateZkMetadata(offlineTableName, existingSegmentZKMetadata)) {
throw new RuntimeException(
"Failed to update ZK metadata for segment: " + segmentName + " of table: " + offlineTableName);
}
Seunghyun
09/05/2019, 9:52 PMKishore G
Ting Chen
09/05/2019, 10:39 PMTing Chen
09/05/2019, 10:46 PMTing Chen
09/05/2019, 10:46 PMKishore G
Subbu Subramaniam
09/06/2019, 12:35 AMSubbu Subramaniam
09/06/2019, 12:35 AMChinmay Soman
09/06/2019, 12:36 AMSubbu Subramaniam
09/06/2019, 12:36 AMSubbu Subramaniam
09/06/2019, 12:36 AMSubbu Subramaniam
09/06/2019, 12:36 AMChinmay Soman
09/06/2019, 12:36 AMSubbu Subramaniam
09/06/2019, 12:41 AMJackie
09/06/2019, 6:14 PMJackie
09/06/2019, 6:38 PMChinmay Soman
09/06/2019, 6:40 PMChinmay Soman
09/06/2019, 6:40 PMChinmay Soman
09/06/2019, 6:40 PMJackie
09/06/2019, 6:41 PMJackie
09/06/2019, 6:43 PMChinmay Soman
09/06/2019, 6:46 PMChinmay Soman
09/06/2019, 6:46 PMChinmay Soman
09/06/2019, 6:47 PMChinmay Soman
09/06/2019, 6:47 PMJackie
09/06/2019, 6:50 PMChinmay Soman
09/06/2019, 6:51 PMChinmay Soman
09/06/2019, 6:53 PM