4z=com/hazelcast/internal/partition/impl/PartitionReplicaManagerjava/lang/Object?com/hazelcast/internal/partition/PartitionReplicaVersionManagerPartitionReplicaManager.java?com/hazelcast/internal/partition/impl/PartitionReplicaManager$1]com/hazelcast/internal/partition/impl/PartitionReplicaManager$PartitionAntiEntropyTaskFactory PartitionAntiEntropyTaskFactoryMcom/hazelcast/internal/partition/impl/PartitionReplicaManager$AntiEntropyTask AntiEntropyTaskYcom/hazelcast/internal/partition/impl/PartitionReplicaManager$ReplicaSyncTimeoutProcessorReplicaSyncTimeoutProcessornodeLcom/hazelcast/instance/Node; nodeEngine'Lcom/hazelcast/spi/impl/NodeEngineImpl;loggerLcom/hazelcast/logging/ILogger;partitionServiceDLcom/hazelcast/internal/partition/impl/InternalPartitionServiceImpl;partitionStateManager=Lcom/hazelcast/internal/partition/impl/PartitionStateManager;replicaVersionsA[Lcom/hazelcast/internal/partition/impl/PartitionReplicaVersions;replicaSyncRequestsLjava/util/Set;PLjava/util/Set;replicaSyncTimeoutScheduler1Lcom/hazelcast/util/scheduler/EntryTaskScheduler;Lcom/hazelcast/util/scheduler/EntryTaskScheduler;replicaSyncSemaphore Ljava/util/concurrent/Semaphore;&Lcom/hazelcast/internal/metrics/Probe;replicaSyncRequestsCounter0Lcom/hazelcast/internal/util/counters/MwCounter;partitionMigrationTimeoutJmaxParallelReplicationsI$assertionsDisabledZd(Lcom/hazelcast/instance/Node;Lcom/hazelcast/internal/partition/impl/InternalPartitionServiceImpl;)V()V 02 3.com/hazelcast/internal/util/counters/MwCounter5 newMwCounter2()Lcom/hazelcast/internal/util/counters/MwCounter; 78 69 () ;  =com/hazelcast/instance/Node?  @A AgetClass()Ljava/lang/Class; DE F getLogger2(Ljava/lang/Class;)Lcom/hazelcast/logging/ILogger; HI @J  L  NBcom/hazelcast/internal/partition/impl/InternalPartitionServiceImplPgetPartitionCount()I RS QTgetPartitionStateManager?()Lcom/hazelcast/internal/partition/impl/PartitionStateManager; VW QX  Z getProperties4()Lcom/hazelcast/spi/properties/HazelcastProperties; \] @^*com/hazelcast/spi/properties/GroupProperty`PARTITION_MIGRATION_TIMEOUT0Lcom/hazelcast/spi/properties/HazelcastProperty; bc ad0com/hazelcast/spi/properties/HazelcastPropertiesf getMillis3(Lcom/hazelcast/spi/properties/HazelcastProperty;)J hi gj *+ l#PARTITION_MAX_PARALLEL_REPLICATIONS nc ao getInteger3(Lcom/hazelcast/spi/properties/HazelcastProperty;)I qr gs ,- ujava/util/concurrent/Semaphorew(I)V 0y xz %& |>com/hazelcast/internal/partition/impl/PartitionReplicaVersions~   z%com/hazelcast/spi/impl/NodeEngineImplgetExecutionServiceD()Lcom/hazelcast/spi/impl/executionservice/InternalExecutionService; "com/hazelcast/spi/ExecutionServicegetGlobalTaskScheduler#()Lcom/hazelcast/spi/TaskScheduler; (Lcom/hazelcast/internal/partition/impl/PartitionReplicaManager;Lcom/hazelcast/internal/partition/impl/PartitionReplicaManager$1;)V 0 )com/hazelcast/util/scheduler/ScheduleTypePOSTPONE+Lcom/hazelcast/util/scheduler/ScheduleType; 6com/hazelcast/util/scheduler/EntryTaskSchedulerFactory newScheduler(Lcom/hazelcast/spi/TaskScheduler;Lcom/hazelcast/util/scheduler/ScheduledEntryProcessor;Lcom/hazelcast/util/scheduler/ScheduleType;)Lcom/hazelcast/util/scheduler/EntryTaskScheduler; "# &java/util/concurrent/ConcurrentHashMap zjava/util/Collections newSetFromMap (Ljava/util/Map;)Ljava/util/Set;  ithis?Lcom/hazelcast/internal/partition/impl/PartitionReplicaManager;partitionCount properties2Lcom/hazelcast/spi/properties/HazelcastProperties;executionService$Lcom/hazelcast/spi/ExecutionService;globalScheduler!Lcom/hazelcast/spi/TaskScheduler;triggerPartitionReplicaSync(ILjava/util/Collection;I)VA(ILjava/util/Collection;I)V ./ java/lang/AssertionErrorjava/lang/StringBuilder 3#Invalid replica index! partitionId=append-(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; , replicaIndex=toString()Ljava/lang/String; (Ljava/lang/Object;)V 0 checkAndGetPrimaryReplicaOwner7(II)Lcom/hazelcast/internal/partition/PartitionReplica; 1com/hazelcast/internal/partition/PartitionReplicaareMigrationTasksAllowed()Z Q1Cannot send sync replica request for partitionId= , namespaces=-(Ljava/lang/Object;)Ljava/lang/StringBuilder; . Sync is not allowed.com/hazelcast/logging/ILoggerfinest(Ljava/lang/String;)V ;com/hazelcast/internal/partition/impl/PartitionStateManagergetPartitionImpl@(I)Lcom/hazelcast/internal/partition/impl/InternalPartitionImpl; ;com/hazelcast/internal/partition/impl/InternalPartitionImpl isMigrating !. Partition is already migrating.sendSyncReplicaRequestN(ILjava/util/Collection;ILcom/hazelcast/internal/partition/PartitionReplica;)V  partitionId namespaces;Ljava/util/Collection; replicaIndextarget3Lcom/hazelcast/internal/partition/PartitionReplica; partition=Lcom/hazelcast/internal/partition/impl/InternalPartitionImpl;getOwnerReplicaOrNull5()Lcom/hazelcast/internal/partition/PartitionReplica;   partitionId=info   getLocalMember%()Lcom/hazelcast/instance/MemberImpl;   fromP(Lcom/hazelcast/core/Member;)Lcom/hazelcast/internal/partition/PartitionReplica;  equals(Ljava/lang/Object;)Z  isFinestEnabled  HThis node is now owner of partition, cannot sync replica -> partitionId=, partition-info=isOwnerOrBackup6(Lcom/hazelcast/internal/partition/PartitionReplica;)Z  ! "/This node is not backup replica of partitionId=$ anymore.&owner localReplicat(ILjava/util/Collection;ILcom/hazelcast/internal/partition/PartitionReplica;)VclusterService8Lcom/hazelcast/internal/cluster/impl/ClusterServiceImpl; +, @-address()Lcom/hazelcast/nio/Address; /0 1uuid 3 46com/hazelcast/internal/cluster/impl/ClusterServiceImpl6isMissingMember0(Lcom/hazelcast/nio/Address;Ljava/lang/String;)Z 89 7:java/util/Collection<size >S =?tryAcquireReplicaSyncPermits(I)I AB C. No permits available!EregisterSyncInfoForNamespaces^(ILjava/util/Collection;ILcom/hazelcast/internal/partition/PartitionReplica;I)Ljava/util/List; GH Ijava/util/ListK L?releaseReplicaSyncPermits Ny OisEmpty Q LR-Sending sync replica request for partitionId=Tinc()J VW 6XFcom/hazelcast/internal/partition/operation/PartitionReplicaSyncRequestZ(ILjava/util/List;I)V 0\ []getOperationServiceD()Lcom/hazelcast/spi/impl/operationservice/InternalOperationService; _` a@com/hazelcast/spi/impl/operationservice/InternalOperationServicecsend;(Lcom/hazelcast/spi/Operation;Lcom/hazelcast/nio/Address;)Z ef dgrequestedNamespacespermits6Ljava/util/List;Ljava/util/List; syncRequestHLcom/hazelcast/internal/partition/operation/PartitionReplicaSyncRequest;(ILjava/util/Collection;ILcom/hazelcast/internal/partition/PartitionReplica;I)Ljava/util/List;java/util/ArrayListp qziterator()Ljava/util/Iterator; st =ujava/util/IteratorwhasNext y xznext()Ljava/lang/Object; |} x~"com/hazelcast/spi/ServiceNamespace%Cannot send sync replica request for  , namespace=registerSyncInfoFor\(ILcom/hazelcast/spi/ServiceNamespace;ILcom/hazelcast/internal/partition/PartitionReplica;)Z  add  L namespace$Lcom/hazelcast/spi/ServiceNamespace;=com/hazelcast/internal/partition/impl/ReplicaFragmentSyncInfo\(ILcom/hazelcast/spi/ServiceNamespace;ILcom/hazelcast/internal/partition/PartitionReplica;)V 0  java/util/Set . Sync is already in progress!/com/hazelcast/util/scheduler/EntryTaskSchedulerschedule((JLjava/lang/Object;Ljava/lang/Object;)Z  syncInfo?Lcom/hazelcast/internal/partition/impl/ReplicaFragmentSyncInfo;getServiceNamespaceC(Lcom/hazelcast/spi/Operation;)Lcom/hazelcast/spi/ServiceNamespace;'com/hazelcast/spi/ServiceNamespaceAware&()Lcom/hazelcast/spi/ServiceNamespace;  >com/hazelcast/internal/partition/NonFragmentedServiceNamespaceINSTANCE@Lcom/hazelcast/internal/partition/NonFragmentedServiceNamespace;   operationLcom/hazelcast/spi/Operation;!incrementPartitionReplicaVersions*(ILcom/hazelcast/spi/ServiceNamespace;I)[JincrementAndGet)(Lcom/hazelcast/spi/ServiceNamespace;I)[J   backupCountreplicaVersion@Lcom/hazelcast/internal/partition/impl/PartitionReplicaVersions;updatePartitionReplicaVersions+(ILcom/hazelcast/spi/ServiceNamespace;[JI)Vupdate*(Lcom/hazelcast/spi/ServiceNamespace;[JI)Z   singleton#(Ljava/lang/Object;)Ljava/util/Set;   versions[JpartitionVersionisPartitionReplicaVersionStale+(ILcom/hazelcast/spi/ServiceNamespace;[JI)ZisStale  isPartitionReplicaVersionDirty((ILcom/hazelcast/spi/ServiceNamespace;)ZisDirty'(Lcom/hazelcast/spi/ServiceNamespace;)Z  getPartitionReplicaVersions)(ILcom/hazelcast/spi/ServiceNamespace;)[Jget((Lcom/hazelcast/spi/ServiceNamespace;)[J  setPartitionReplicaVersionsset*(Lcom/hazelcast/spi/ServiceNamespace;[JI)V   replicaOffsetclearPartitionReplicaVersions((ILcom/hazelcast/spi/ServiceNamespace;)Vclear'(Lcom/hazelcast/spi/ServiceNamespace;)V  finalizeReplicaSync+(IILcom/hazelcast/spi/ServiceNamespace;[J)VclearReplicaSyncRequest)(ILcom/hazelcast/spi/ServiceNamespace;I)V  remove  .Clearing sync replica request for partitionId=cancelIfExists'(Ljava/lang/Object;Ljava/lang/Object;)I  cancelReplicaSyncRequestsTo(Lcom/hazelcast/core/Member;)V u   isIdentical(Lcom/hazelcast/core/Member;)Z   2 xcancelA(Ljava/lang/Object;)Lcom/hazelcast/util/scheduler/ScheduledEntry;  memberLcom/hazelcast/core/Member;iterULjava/util/Iterator;Ljava/util/Iterator;cancelReplicaSync -  Invalid permits:   tryAcquire(I)Z   x Acquired - replica sync permits, requested permits was . Remaining permits: availablePermits S xrequestedPermitsrelease y x Released * replica sync permits. Available permits:  availableReplicaSyncPermits "S #>Number of replica sync permits exceeded the configured number!%getOngoingReplicaSyncRequests()Ljava/util/List;S()Ljava/util/List;(Ljava/util/Collection;)V 0* q+getScheduledReplicaSyncRequests()Ljava/util/List;>; q3  0entry~Lcom/hazelcast/util/scheduler/ScheduledEntry;-Lcom/hazelcast/util/scheduler/ScheduledEntry;entriesLjava/util/List;>;reset 2 8 cancelAll :2 ; drainPermits =S x>scheduleReplicaVersionSync'(Lcom/hazelcast/spi/ExecutionService;)VPARTITION_BACKUP_SYNC_INTERVAL Bc aC getSeconds Er gF java/util/concurrent/TimeUnitISECONDSLjava/util/concurrent/TimeUnit; KL JMscheduleWithRepetition](Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; OP QdefinedBackupSyncCheckIntervalbackupSyncCheckInterval getNamespaces(I)Ljava/util/Collection;?(I)Ljava/util/Collection;()Ljava/util/Collection; UX YretainNamespaces(ILjava/util/Set;)V9(ILjava/util/Set;)V(Ljava/util/Set;)V [^ _5Ljava/util/Set; access$200P(Lcom/hazelcast/internal/partition/impl/PartitionReplicaManager;)Ljava/util/Set;x0 access$300^(Lcom/hazelcast/internal/partition/impl/PartitionReplicaManager;)Lcom/hazelcast/instance/Node; access$400(Lcom/hazelcast/internal/partition/impl/PartitionReplicaManager;)Lcom/hazelcast/internal/partition/impl/InternalPartitionServiceImpl; access$600h(Lcom/hazelcast/internal/partition/impl/PartitionReplicaManager;)Lcom/hazelcast/spi/impl/NodeEngineImpl;java/lang/ClassldesiredAssertionStatus n mo SignatureRuntimeVisibleAnnotationsCode StackMapTableLineNumberTableLocalVariableTableLocalVariableTypeTable InnerClasses SourceFile!  q!"#q$%&r'()r'*+,-./ 01s*4*:<*+>*+BC*+*GKM*,O,U>*,Y[+_:*ekm*ptv*xY*v{}*6**YS*C::*Y**Ytn@QguZSMN TUV$W)Y.Z6\<]H^T_cakbxcbfgpstvRn -.-<.%sв1 'YYɶǶͷп*:*Oښ7*MYܶɶ޶,Ķ͹*[:7*MYܶɶ޶,Ķ͹*,t# =Eu6 4<ABLv>--<Fw qs*[N-:+*MY ɶǶ͹ *C:H*M:*MYɶ*[͹-#=*M/*MY%ɶ'Ķ͹t<X@uF :<HR^v>-- (H)s*>.25;*,@D6D*M7*MYܶɶ޶,FĶ͹*,J:M*MdPS*M3*MYUɶ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