mirror of https://github.com/apache/druid.git
Always convert start metadata to start (#7332)
This commit is contained in:
parent
4ca5fe0f60
commit
f410c28af6
|
@ -886,7 +886,7 @@ public class IndexerSQLMetadataStorageCoordinator implements IndexerMetadataStor
|
|||
// Even though kafka/kinesis indexing services use different sequenceNumber types for representing
|
||||
// start and end sequenceNumbers, the below conversion is fine because the new start sequenceNumbers are supposed
|
||||
// to be same with end sequenceNumbers of the last commit.
|
||||
startMetadataMatchesExisting = startMetadata.matches(oldCommitMetadataFromDb.asStartMetadata());
|
||||
startMetadataMatchesExisting = startMetadata.asStartMetadata().matches(oldCommitMetadataFromDb.asStartMetadata());
|
||||
}
|
||||
|
||||
if (!startMetadataMatchesExisting) {
|
||||
|
|
Loading…
Reference in New Issue