org.apache.jackrabbit.oak.plugins.document.ClusterViewDocument.class Maven / Gradle / Ivy
???? 33 i>?@ABCDEAFGH
I
JK
iL
iMNAOPQ
RS
TU
iV
WXYZ i[
\]^
_
i`a
!b ?D
icd
e ?f
gh
ii
jk
+T
wl
mn
wo
+pqAr
Js tuvwxAy
iz
{|v}~
w??? ??C?????
?
g?
g???
II?
LT
L?
L?
L?
i?
y?
L?
i???
i?
i?
i?
L?
L??
\TC??
\??
\?
\?
\?
y?
_?
_?v??
i?
i??
lT?
l?
??
l?A?C?
T?
??? i?? i??
{o i??????????
l??A? i?
i? i? i???A? i??
??
???
l??
l??
i????
i?
????
?I logger Lorg/slf4j/Logger; CLUSTERVIEW_DOC_ID Ljava/lang/String;
ConstantValue VIEW_SEQ_NUM_KEY
ACTIVE_KEY INACTIVE_KEY RECOVERING_KEY CREATED_KEY CREATOR_KEY RETIRED_KEY RETIRER_KEY CLUSTER_VIEW_HISTORY_KEY standardDateFormat Ljava/text/DateFormat;
HISTORY_LIMIT I
viewSeqNum J activeIds [Ljava/lang/Integer;
recoveringIds inactiveIds viewHistory Ljava/util/Map; Signature 5Ljava/util/Map; createdAt createdBy Ljava/lang/Long; readOrUpdate ?(Lorg/apache/jackrabbit/oak/plugins/document/DocumentNodeStore;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)Lorg/apache/jackrabbit/oak/plugins/document/ClusterViewDocument; Code LineNumberTable LocalVariableTable oldestRevision 5Lorg/apache/jackrabbit/oak/plugins/document/Revision; mapClone previousHistory updateOps Ljava/util/ArrayList;
newViewSeqNum previousViewSeqNum documentNodeStore >Lorg/apache/jackrabbit/oak/plugins/document/DocumentNodeStore; Ljava/util/Set; localClusterId previousView @Lorg/apache/jackrabbit/oak/plugins/document/ClusterViewDocument; updateOp 5Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp; now Ljava/util/Date;
readResult LocalVariableTypeTable LLjava/util/ArrayList; $Ljava/util/Set;
StackMapTable???QS??? ?(Lorg/apache/jackrabbit/oak/plugins/document/DocumentNodeStore;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)Lorg/apache/jackrabbit/oak/plugins/document/ClusterViewDocument; F(Ljava/util/Map;)Lorg/apache/jackrabbit/oak/plugins/document/Revision; obj Ljava/lang/Object; r it Ljava/util/Iterator;
historyMap (Ljava/util/Iterator;??@ l(Ljava/util/Map;)Lorg/apache/jackrabbit/oak/plugins/document/Revision; asHistoryEntry e(Lorg/apache/jackrabbit/oak/plugins/document/ClusterViewDocument;ILjava/util/Date;)Ljava/lang/String; retiringClusterNodeId
retireTime h b 4Lorg/apache/jackrabbit/oak/commons/json/JsopBuilder; setToCsv #(Ljava/util/Set;)Ljava/lang/String; id Ljava/lang/Integer; i$ ids sb Ljava/lang/StringBuffer;?? 8(Ljava/util/Set;)Ljava/lang/String;
arrayToCsv (([Ljava/lang/Integer;)Ljava/lang/String; a arr$ len$ arr ? csvToIntegerArray ((Ljava/lang/String;)[Ljava/lang/Integer; i csv split [Ljava/lang/String; result doRead ?(Lorg/apache/jackrabbit/oak/plugins/document/DocumentNodeStore;)Lorg/apache/jackrabbit/oak/plugins/document/ClusterViewDocument; clusterView
documentStore :Lorg/apache/jackrabbit/oak/plugins/document/DocumentStore; doc 5Lorg/apache/jackrabbit/oak/plugins/document/Document;?? matches &([Ljava/lang/Integer;Ljava/util/Set;)Z aMemberId expected actual expectedIsEmpty Z
actualIsEmpty ;([Ljava/lang/Integer;Ljava/util/Set;)Z 8(Lorg/apache/jackrabbit/oak/plugins/document/Document;)V this creatorId obj2 obj3 obj4 getActiveIds ()Ljava/util/Set; &()Ljava/util/Set; getRecoveringIds getInactiveIds
getHistory ()Ljava/util/Map; 7()Ljava/util/Map; toString ()Ljava/lang/String; isValid ()Z getCreatedAt getCreatedBy ()J
getViewSeqNum 0(Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)Z o(Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)Z ()V
SourceFile ClusterViewDocument.java ? ? IreadOrUpdate: expected: activeIds: {}, recoveringIds: {}, inactiveIds: {} java/lang/Object?????? 1readOrUpdate: activeIds must not be null or empty?? java/lang/IllegalStateException #activeIds must not be null or empty!????8 +readOrUpdate: view unchanged, returning: {}?? preadOrUpdate: view change detected, going to update from {} to activeIds: {}, recoveringIds: {}, inactiveIds: {} 3org/apache/jackrabbit/oak/plugins/document/UpdateOp!? java/util/Date!; active ? ???
recovering inactive created ? ???? creator??-. java/util/HashMap!? ? ? clusterViewHistory??????? ? ??? java/util/ArrayList???? seqNum?6?? HupdateAndRead: trying to create the first ever clusterView - hence {}={}????? ? bupdateAndRead: someone else just created the first view ever while I tried - reread that one later??76 9updateAndRead: trying to update the clusterView to {}={} fupdateAndRead: someone else just updated the view which I wanted to do as well - reread that one later YupdateAndRead: got null from read - whatever the exact reason, we must retry in a moment.? (updateAndRead: matching view - no change gupdateAndRead: someone else in the cluster was updating right after I also succeeded - re-read in a bit)
?3
01 "java/lang/IllegalArgumentException previousView must not be null 2org/apache/jackrabbit/oak/commons/json/JsopBuilder41?56 retired retirer()+),) java/lang/StringBuffer java/lang/Integer? , ?!"# >org/apache/jackrabbit/oak/plugins/document/ClusterViewDocument!"23 java/lang/StringBuilder )read: clusterView document is not valid: $??1%?&? doc must not be null'( java/lang/Long ? ? java/lang/String ? ? java/lang/Number ? ? Unsupported type of creator: ) : {} : {}?? ? ? ? ? ? ?
java/util/Map viewHistory is null?? ? ? java/util/HashSet*+,!- a ClusterView[valid=.
, viewSeqNum=/ , activeIds= , recoveringIds= , inactiveIds= ]012 java/text/SimpleDateFormat yyyy-MM-dd'T'HH:mm:ss.SSSZ