org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgent.class Maven / Gradle / Ivy
???? 3. ?
? ?
?
!"
#
/$
}%&'(
)*
+
,
-
./0
12
>3
?4567
?8
?9:
&
;<
;= >?
>@ABCBDE ??F6G
?H
IJ
/K&L
,M
NO
NP
&Q
&RSTU
&V
IW >XYZ[6\
]^S_
&-`6ab
Kcd
M
&ef
!g
g
h
ijk
!l
Im ? ?
no
ipq
rstu
avw
xyzT
?{
I|
}
~
k?
/? I?
???T
/?
??&?? t?
/?
/?
?
??
???6??
}?
???
??
??
???
??
??? 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 (IJ)I startTime J reason Ljava/lang/String; leaseEnd root 9Lorg/apache/jackrabbit/oak/plugins/document/NodeDocument; lastRev 5Lorg/apache/jackrabbit/oak/plugins/document/Revision; clusterId I waitUntil nodeInfo DLorg/apache/jackrabbit/oak/plugins/document/ClusterNodeInfoDocument; leaseTime
asyncDelay
StackMapTable??E(U
Exceptions (I)I (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 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;?:??A T(Ljava/util/Iterator;IZ)I recoverCandidates [(Lorg/apache/jackrabbit/oak/plugins/document/ClusterNodeInfoDocument;JJLjava/lang/String;)I msg e Ljava/lang/InterruptedException; clock 'Lorg/apache/jackrabbit/oak/stats/Clock; remaining time num Ljava/lang/Iterable; info infoDoc success OLjava/lang/Iterable;?q?? 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/lang/Iterable; getRecoveryCandidateNodes ()Ljava/lang/Iterable; +()Ljava/lang/Iterable;
access$100 ?(Lorg/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent;)Lorg/apache/jackrabbit/oak/plugins/document/MissingLastRevSeeker; x0
SourceFile LastRevRecoveryAgent.java ? ? ?????? ? ? ? ? ?org/apache/jackrabbit/oak/plugins/document/MissingLastRevSeeker????? ?? ? ????? ???????????????? 3org/apache/jackrabbit/oak/plugins/document/Revision?? java/lang/StringBuilder lastRev: ?????? Xno lastRev for root, using timestamp based on leaseEnd %d - leaseTime %d - asyncDelay %d java/lang/Object????? ? ? #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 [{}]: {} ?? 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 cluster node {}. Waiting at most until {} for recovery to finish ({} seconds remaining).? ? java/lang/InterruptedException :Interrupted while waiting for _lastRev recovery to finish. Aorg/apache/jackrabbit/oak/plugins/document/DocumentStoreException ? BRecovering candidates modified after: [{}] for clusterId [{}] [{}]
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&? ? ? ILast Revision Recovery for cluster node {} ongoing by other cluster node.' Aorg/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent$2 ?()* Aorg/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent$3+, ?org/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent Borg/apache/jackrabbit/oak/plugins/document/ClusterNodeInfoDocument java/util/Iterator
java/util/Map 8org/apache/jackrabbit/oak/plugins/document/DocumentStore %org/apache/jackrabbit/oak/stats/Clock java/lang/Iterable java/lang/Throwable getClass ()Ljava/lang/Class; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;