org.apache.jackrabbit.oak.plugins.document.ClusterViewDocument.class Maven / Gradle / Ivy
???? 2F nHIJKLMNOKPQR
S
TU
nV
nWXKYZ[
\]
^_
n`
abcd ne
fgh
i
njk
!l ?N
nmn
o ?p
qr
ns
tuv
,^
~w
xy
~z
{|
{} ?
,~K?
T? ?????K?
n?
??K?????
~??? ??M?????
}
q?
q???
NS?
Q^
Q?
Q?
Q?
n?
|?
Q?
n???
n?
n?
n?
Q?
Q}?
a^M??
a??
a?
a?
a}
|?
d?
d????
n?
n??
q^?
q?
??
q}K?M?
^?
??? n?? n? n??
?z n??????????
q??K? n?
n? n? n???K? n??
??
???
q??
q???
n????
n?
????
?S logger Lorg/slf4j/Logger; CLUSTERVIEW_DOC_ID Ljava/lang/String;
ConstantValue CLUSTER_VIEW_ID_KEY 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
clusterViewId 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???[]??? ?(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;??J 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 getClusterViewId 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*????!B +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*E active ? ???
recovering inactive created ? ???? creator??67 java/util/HashMap*? ? ? clusterViewHistory????? ? ? _id java/util/ArrayList seqNum?
9:
RupdateAndRead: trying to create the first ever clusterView - hence {}={} and {}={}?? bupdateAndRead: someone else just created the first view ever while I tried - reread that one later?@? 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 bit2?< !"#$ "java/lang/IllegalArgumentException previousView must not be null 2org/apache/jackrabbit/oak/commons/json/JsopBuilder%&'()*=:+)(>? retired retirer124252,& java/lang/StringBuffer java/lang/Integer-? ,./.0123456 >org/apache/jackrabbit/oak/plugins/document/ClusterViewDocument*+;< java/lang/StringBuilder )read: clusterView document is not valid: .7??:8?9
doc must not be null:; java/lang/String ? ? java/lang/Long ? ? ? ? java/lang/Number ? ? Unsupported type of creator: .< : {} : {}? ? ? ? ? ? ?
java/util/Map viewHistory is null?? ? ? java/util/HashSet=>?*@ a ClusterView[valid=.A
, viewSeqNum=.B , clusterViewId= , activeIds=
, recoveringIds= , inactiveIds= ]!"CDE java/text/SimpleDateFormat yyyy-MM-dd'T'HH:mm:ss.SSSZ