All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.engine.CombinedDeletionPolicy.class Maven / Gradle / Ivy

????4G7com/groupbyinc/flux/index/engine/CombinedDeletionPolicyBcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicyCombinedDeletionPolicy.javaKcom/groupbyinc/flux/index/engine/CombinedDeletionPolicy$SnapshotIndexCommitSnapshotIndexCommit:com/groupbyinc/flux/index/seqno/SequenceNumbers$CommitInfo	/com/groupbyinc/flux/index/seqno/SequenceNumbers
CommitInfologger!Lorg/apache/logging/log4j/Logger;translogDeletionPolicy;Lcom/groupbyinc/flux/index/translog/TranslogDeletionPolicy;globalCheckpointSupplier!Ljava/util/function/LongSupplier;snapshottedCommits?Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectIntHashMap;}Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectIntHashMap;
safeCommit?(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/index/translog/TranslogDeletionPolicy;Ljava/util/function/LongSupplier;)V()V
	!	#	%=com/groupbyinc/flux/common/carrotsearch/hppc/ObjectIntHashMap'
(	*this9Lcom/groupbyinc/flux/index/engine/CombinedDeletionPolicy;onInit(Ljava/util/List;)Vjava/io/IOException0	2java/util/List4isEmpty()Z6758java/lang/AssertionError:'index is opened, but we have no commits<(Ljava/lang/Object;)V>
;?onCommitA/
B	Dsize()IFG5Hget(I)Ljava/lang/Object;JK5Ljava/lang/IllegalStateExceptionNjava/lang/StringBuilderP
QEEngine is opened, but the last commit isn't safe. Global checkpoint [Sappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;UV
QWjava/util/function/LongSupplierY	getAsLong()J[\Z](J)Ljava/lang/StringBuilder;U_
Q`], seqNo is last commit [b	d:com/groupbyinc/flux/common/apache/lucene/index/IndexCommitfgetUserData()Ljava/util/Map;hi
gj
java/util/MaplentrySet()Ljava/util/Set;nomploadSeqNoInfoFromLuceneCommitR(Ljava/lang/Iterable;)Lcom/groupbyinc/flux/index/seqno/SequenceNumbers$CommitInfo;rs
t-(Ljava/lang/Object;)Ljava/lang/StringBuilder;Uv
Qw], seqNos in safe commit [y]{toString()Ljava/lang/String;}~
Q(Ljava/lang/String;)V?
O?commitsOLjava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;>;Ljava/util/List;indexOfKeptCommits(Ljava/util/List;J)I??
?containsKey(Ljava/lang/Object;)Z??
(?deleteCommit?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)V??
?updateTranslogDeletionPolicy?
?iIkeptPosition	isDeleted?7
g?Index commit [?commitDescriptionP(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)Ljava/lang/String;??
?] is deleted twice?Delete index commit [{}]?org/apache/logging/log4j/Logger?debug'(Ljava/lang/String;Ljava/lang/Object;)V????delete?
g?Deletion commit [?] was suppressed?commitjava/lang/Thread?	holdsLock??
??
;"Safe commit [{}], last commit [{}]?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V????#The safe commit must not be deleted?translog_generation?&(Ljava/lang/Object;)Ljava/lang/Object;J?m?java/lang/String?java/lang/Long?	parseLong(Ljava/lang/String;)J??
??#The last commit must not be deleted?/minRequiredGen must not be greater than lastGen?9com/groupbyinc/flux/index/translog/TranslogDeletionPolicy?!setTranslogGenerationOfLastCommit(J)V??
??#setMinTranslogGenerationForRecovery??
??minRequiredGenJlastGenacquireIndexCommit?(Z)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;"Safe commit is not initialized yet?"Last commit is not initialized yet?addTo(Ljava/lang/Object;I)I??
(??
?acquiringSafeCommitsnapshotting
releaseCommit?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)Z
access$000?(Lcom/groupbyinc/flux/index/engine/CombinedDeletionPolicy$SnapshotIndexCommit;)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;??
?4Release non-snapshotted commit;snapshotted commits [?], releasing commit [?)Number of snapshots can not be negative [?(I)Ljava/lang/StringBuilder;U?
Q?remove(Ljava/lang/Object;)I??
(?equals??
gsnapshotCommitreleasingCommitrefCountfindSafeCommitPointO(Ljava/util/List;J)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;"java/lang/IllegalArgumentExceptionCommit list must not empty	
?NLjava/util/List;globalCheckpoint
translog_uuid
?
max_seq_nom?java/lang/Mathmin(II)I
????????commitUserData5Ljava/util/Map;Ljava/util/Map;maxSeqNoFromCommitexpectedTranslogUUIDLjava/lang/String;hasUnreferencedCommitsmaxSeqNoFromLastCommitjava/util/Locale$ROOTLjava/util/Locale;&'	%(&CommitPoint{segment[%s], userData[%s]}*java/lang/Object,getSegmentsFileName.~
g/formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;12
?3java/lang/Class6desiredAssertionStatus87
79	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
ExceptionsR(Ljava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;>;)V?(Ljava/util/List;J)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;S(Ljava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;>;J)I
SourceFileInnerClasses1;BB<{*? *+?"*,?$*-?&*?(Y?)?+?=*,->67	89:;!./<???3?+?9?
?;Y=?@?*+?C*?E++?Id?M?Y?OY?QY?RT?X*?&?^?ac?X*?e?k?q?u?xz?X*?E?k?q?u?x|?X??????=?,-???????>"?@A3BGCXDoE?G@?oA1;B!A/<?e+*?&?^??=*++?Id?M?g?e*+?M?g?E>?+*?++?M?g???*+?M?g??????*???=*3-??e,-e??W???e??>&	KL#M1N8OLPZN`SdT@?3&?A1;B??<?t?3?-+???&?;Y?QY?R??X+???X??X???@?*?"?+????+???3?-+???&?;Y?QY?R??X+???X??X???@??=t,-t?>W0X?YCZs[@0?BA1?<'??3?*????;Y???*?"?*?E??*?e?????3?*?E???
?;Y??@?*?E?k¹??Ǹ?@?3?*?e???
?;YϷ@?*?e?k¹??Ǹ?B?3?!??
?;Yѷ@?*?$!??*?$?ڱ= ?,-]V???'??>*
^_.`Ha]bwc?e?f?g?h@2?.?*A1 ??<?Q?3?*?E?
?;Y?@??3?*?e?
?;Y?@??
*?E?*?eM*?+,??W?Y,??= Q,-Q?>?>qr.s>tHu@	
Cg ??<?+???M?3?:*?+,???/?;Y?QY?R?X*?+?x??X,?x|?X???@?*?+,??>?3?'?#?;Y?QY?R??X??|?X???@??*?+,??W?,*?E??,*?e????=*?,-??OW?>~E?O?y?}???@?Eg?3@	<?%*?9??Y
??*??>*?M?g?= %??%
????%?>?	???@A1;C
??<n?**?Id?M?g?k????N*?Id6?t*?M?g?k:-????`???*?Id`?????Ǹ?7????????????=>?[??*v??????
? ? !??[???>:? ?/???P?U?b?r?????????????@?*??*m??	?A1;D"7<?E*?eL*?E+?9+?k??*+?k???Ǹ?A*?&?^ ?????= /#?E,-@>??
??/?C?@?Ag@?A1	??<F?)+?-Y*?0SY*?kS?4?=?>?A15<4?:???3?>.@@EF







© 2015 - 2025 Weber Informatics LLC | Privacy Policy