org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgent.class Maven / Gradle / Ivy
???? 2
C
C
? ? ?
?
??
?
o
'
j
? !
?"#
$%
$& '(
')*+,+-. ??/
t01
?2
3
'45
$6
78
79
:
;<=>
?
@ 'ABCDE
FG<H
IJKLM
ENO
G
PQ
R
STU
VWX=
?Y
Z
[
\]
V^
'_ `
abc=
'd
efgh _i
'j
'k
l
mn
o
?p
?qrs=t
ju
?v
w
xyz
o{
o|}
o~?
7?s?
j?s??
z?
z?
z?
z?
o?? ClusterPredicate InnerClasses log Lorg/slf4j/Logger; nodeStore >Lorg/apache/jackrabbit/oak/plugins/document/DocumentNodeStore; missingLastRevUtil ALorg/apache/jackrabbit/oak/plugins/document/MissingLastRevSeeker; ?(Lorg/apache/jackrabbit/oak/plugins/document/DocumentNodeStore;Lorg/apache/jackrabbit/oak/plugins/document/MissingLastRevSeeker;)V Code LineNumberTable LocalVariableTable this ALorg/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent; seeker A(Lorg/apache/jackrabbit/oak/plugins/document/DocumentNodeStore;)V recover (I)I startTime J leaseEnd root 9Lorg/apache/jackrabbit/oak/plugins/document/NodeDocument; lastRev 5Lorg/apache/jackrabbit/oak/plugins/document/Revision; clusterId I nodeInfo DLorg/apache/jackrabbit/oak/plugins/document/ClusterNodeInfoDocument; leaseTime
asyncDelay
StackMapTable?z. (Ljava/util/Iterator;I)I suspects Ljava/util/Iterator; LocalVariableTypeTable OLjava/util/Iterator; Signature S(Ljava/util/Iterator;I)I (Ljava/util/Iterator;IZ)I path Ljava/lang/String; doc currentLastRev lastModifiedRev lastRevForParents lastMod id calcLastRev knownLastRev
parentPath i$ dryRun Z unsaved ALorg/apache/jackrabbit/oak/plugins/document/UnsavedModifications; unsavedParents knownLastRevOrModification Ljava/util/Map; docStore :Lorg/apache/jackrabbit/oak/plugins/document/DocumentStore; changes 9Lorg/apache/jackrabbit/oak/plugins/document/JournalEntry; count lastRootRev size updates XLjava/util/Map;?#??*> T(Ljava/util/Iterator;IZ)I recoverCandidates (IJ)I myClusterId lockAcquired Ljava/lang/Iterable; OLjava/lang/Iterable;?? determineLastModification q(Lorg/apache/jackrabbit/oak/plugins/document/NodeDocument;I)Lorg/apache/jackrabbit/oak/plugins/document/Revision; rev entry Entry Ljava/util/Map$Entry; valueMap property cp RLorg/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent$ClusterPredicate; lastModified ^Ljava/util/Map$Entry; XLjava/util/Map;] RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; isRecoveryNeeded ()Z performRecoveryIfNeeded ()V
clusterIds Ljava/util/List; %Ljava/util/List;? getRecoveryCandidateNodes ()Ljava/util/List; recoveredBy Ljava/lang/Long; clusters candidateClusterNodes beingRecoveredRightNow ZLjava/lang/Iterable; $Ljava/util/List; '()Ljava/util/List; G(Lorg/apache/jackrabbit/oak/plugins/document/ClusterNodeInfoDocument;)Z "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nonnull;
SourceFile LastRevRecoveryAgent.java ? ?????? ? ? ? ? ? ? ?org/apache/jackrabbit/oak/plugins/document/MissingLastRevSeeker??? ?? ? ????? ? ???????????? 3org/apache/jackrabbit/oak/plugins/document/Revision?? =Recovering candidates modified after: [{}] for clusterId [{}]?????? ? ? #No recovery needed for clusterId {}?? ? ? ?org/apache/jackrabbit/oak/plugins/document/UnsavedModifications?????????? 7org/apache/jackrabbit/oak/plugins/document/JournalEntry?? ??? 7org/apache/jackrabbit/oak/plugins/document/NodeDocument Scanned {} suspects so far...???? ? ????????????????????? java/lang/String????????? Unable to find document: {}???? / ???? ODry run of lastRev recovery identified [{}] documents for cluster node [{}]: {} java/lang/Object?? Aorg/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent$1 ?? (java/util/concurrent/locks/ReentrantLock?? ]Updated lastRev of [{}] documents while performing lastRev recovery for cluster node [{}]: {}???? ]Last revision recovery already being performed by some other node. Would not attempt recovery???? 6Performing Last Revision Recovery for clusterNodeId {}? ? ?????? ? Porg/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent$ClusterPredicate ????????????????? java/util/Map$Entry?????? ? ? ? ? ? ? JClusterNodeId [{}] starting Last Revision Recovery for clusterNodeId(s) {}? java/lang/Integer? ? ?
Borg/apache/jackrabbit/oak/plugins/document/ClusterNodeInfoDocument? ?
recoveryBy?
java/lang/Long
%s (by %d)? ? java/lang/StringBuilder @Active cluster nodes already in the process of being recovered: ?? ? ?org/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent java/util/Iterator
java/util/Map 8org/apache/jackrabbit/oak/plugins/document/DocumentStore java/lang/Iterable java/lang/Throwable java/util/List getClass ()Ljava/lang/Class; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;