Remove synchronzed block for preventing shard sync contention
This commit is contained in:
parent
7f18330ebd
commit
87a7cb2d1c
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ public class HierarchicalShardSyncer {
|
|||
* @throws KinesisClientLibIOException
|
||||
*/
|
||||
// CHECKSTYLE:OFF CyclomaticComplexity
|
||||
public synchronized boolean checkAndCreateLeaseForNewShards(@NonNull final ShardDetector shardDetector,
|
||||
public boolean checkAndCreateLeaseForNewShards(@NonNull final ShardDetector shardDetector,
|
||||
final LeaseRefresher leaseRefresher, final InitialPositionInStreamExtended initialPosition,
|
||||
final MetricsScope scope, final boolean ignoreUnexpectedChildShards, final boolean isLeaseTableEmpty)
|
||||
throws DependencyException, InvalidStateException, ProvisionedThroughputException, KinesisClientLibIOException, InterruptedException {
|
||||
|
|
|
|||
Loading…
Reference in a new issue