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

com.groupbyinc.flux.index.translog.Translog.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?+com/groupbyinc/flux/index/translog/Translog;com/groupbyinc/flux/index/shard/AbstractIndexShardComponent3com/groupbyinc/flux/index/shard/IndexShardComponentjava/io/Closeable
Translog.java-com/groupbyinc/flux/index/translog/Translog$1
>com/groupbyinc/flux/index/translog/Translog$TranslogGenerationTranslogGeneration6com/groupbyinc/flux/index/translog/Translog$Durability
Durability0com/groupbyinc/flux/index/translog/Translog$NoOpNoOp2com/groupbyinc/flux/index/translog/Translog$DeleteDelete1com/groupbyinc/flux/index/translog/Translog$IndexIndex2com/groupbyinc/flux/index/translog/Translog$SourceSource5com/groupbyinc/flux/index/translog/Translog$Operation	Operation4com/groupbyinc/flux/index/translog/Translog$Snapshot!Snapshot4com/groupbyinc/flux/index/translog/Translog$Location$Location%java/lang/invoke/MethodHandles$Lookup'java/lang/invoke/MethodHandles)LookupTRANSLOG_GENERATION_KEYLjava/lang/String;translog_generation.TRANSLOG_UUID_KEY
translog_uuid1TRANSLOG_FILE_PREFIX	translog-4TRANSLOG_FILE_SUFFIX.tlog7CHECKPOINT_SUFFIX.ckp:CHECKPOINT_FILE_NAMEtranslog.ckp=PARSE_STRICT_ID_PATTERNLjava/util/regex/Pattern;DEFAULT_HEADER_SIZE_IN_BYTESIreadersLjava/util/List;ELjava/util/List;	bigArrays+Lcom/groupbyinc/flux/common/util/BigArrays;readLock;Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock;	writeLocklocationLjava/nio/file/Path;current3Lcom/groupbyinc/flux/index/translog/TranslogWriter;closed+Ljava/util/concurrent/atomic/AtomicBoolean;config3Lcom/groupbyinc/flux/index/translog/TranslogConfig;globalCheckpointSupplier!Ljava/util/function/LongSupplier;primaryTermSuppliertranslogUUIDdeletionPolicy;Lcom/groupbyinc/flux/index/translog/TranslogDeletionPolicy;$assertionsDisabledZ?(Lcom/groupbyinc/flux/index/translog/TranslogConfig;Ljava/lang/String;Lcom/groupbyinc/flux/index/translog/TranslogDeletionPolicy;Ljava/util/function/LongSupplier;Ljava/util/function/LongSupplier;)Vjava/io/IOException]java/lang/Exception_1com/groupbyinc/flux/index/translog/TranslogConfiga
getShardId+()Lcom/groupbyinc/flux/index/shard/ShardId;cd
begetIndexSettings+()Lcom/groupbyinc/flux/index/IndexSettings;gh
biU(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/IndexSettings;)V[k
ljava/util/ArrayListn()V[p
oqCD	s)java/util/concurrent/atomic/AtomicBooleanu
vqOP	xQR	zST	|UT	~WX	?V-	?getBigArrays-()Lcom/groupbyinc/flux/common/util/BigArrays;??
b?FG	?1java/util/concurrent/locks/ReentrantReadWriteLock?
?q9com/groupbyinc/flux/common/util/concurrent/ReleasableLock?(java/util/concurrent/locks/ReadWriteLock?#()Ljava/util/concurrent/locks/Lock;H???$(Ljava/util/concurrent/locks/Lock;)V[?
??HI	?J???JI	?getTranslogPath()Ljava/nio/file/Path;??
b?KL	?%java/nio/file/attribute/FileAttribute?java/nio/file/Files?createDirectoriesR(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;??
??readCheckpointE(Ljava/nio/file/Path;)Lcom/groupbyinc/flux/index/translog/Checkpoint;??
?-com/groupbyinc/flux/index/translog/Checkpoint?
generationJ??	??getFilename(J)Ljava/lang/String;??
?java/nio/file/Path?resolve((Ljava/lang/String;)Ljava/nio/file/Path;????getCommitCheckpointFileName??
?YZ	?java/nio/file/LinkOption?exists2(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z??
??size(Ljava/nio/file/Path;)J??
??1com/groupbyinc/flux/index/translog/TranslogHeader?headerSizeInBytes(Ljava/lang/String;)I??
??java/lang/AssertionError?java/lang/StringBuilder?
?qunexpected translog file: [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??]?toString()Ljava/lang/String;??
??(Ljava/lang/Object;)V[?
??java/lang/String?9com/groupbyinc/flux/index/translog/TranslogDeletionPolicy?java/util/function/LongSupplier?deleteIfExists(Ljava/nio/file/Path;)Z??
??logger!Lorg/apache/logging/log4j/Logger;??	??deleted previously created, but not yet committed, next generation [{}]. This can happen due to a tragic exception when creating a new generation?getFileName????org/apache/logging/log4j/Logger?warn'(Ljava/lang/String;Ljava/lang/Object;)V?recoverFromFilesF(Lcom/groupbyinc/flux/index/translog/Checkpoint;)Ljava/util/ArrayList;
java/util/ListaddAll(Ljava/util/Collection;)Z
	isEmpty()Z	java/lang/IllegalStateException%at least one reader must be recovered(Ljava/lang/String;)V[
MN	getMinFileGeneration()J
globalCheckpoint?	? createWriter8(JJJ)Lcom/groupbyinc/flux/index/translog/TranslogWriter;"#
$,com/groupbyinc/flux/core/internal/io/IOUtils&closeWhileHandlingException(Ljava/lang/Iterable;)V()
'*java/lang/Throwable,([Ljava/io/Closeable;)V(.
'/
checkpoint/Lcom/groupbyinc/flux/index/translog/Checkpoint;nextTranslogFilecurrentCheckpointFilesuccesseLjava/lang/Exception;this-Lcom/groupbyinc/flux/index/translog/Translog;rwl*Ljava/util/concurrent/locks/ReadWriteLock;createTempFilev(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;<=
?>acquire=()Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock;@A
?B'open uncommitted translog checkpoint {}DdebugF?GminTranslogGenerationI?	?J
indexSettingsLh
M'com/groupbyinc/flux/index/IndexSettingsOgetIndexVersionCreated()Lcom/groupbyinc/flux/Version;QR
PScom/groupbyinc/flux/VersionU
V_6_0_0_beta1Lcom/groupbyinc/flux/Version;WX	VYbefore (Lcom/groupbyinc/flux/Version;)Z[\
V]Lno minTranslogGeneration in checkpoint, but index was created with version [_#getMinTranslogGenerationForRecoverya
?b
openReaderx(Ljava/nio/file/Path;Lcom/groupbyinc/flux/index/translog/Checkpoint;)Lcom/groupbyinc/flux/index/translog/TranslogReader;de
fadd(Ljava/lang/Object;)Zhi
oj-translog file doesn't exist with generation: l(J)Ljava/lang/StringBuilder;?n
?o recovering from: q
 checkpoint: s# - translog ids must be consecutiveureadw?
?x1com/groupbyinc/flux/index/translog/TranslogReaderzgetPrimaryTerm|
{}	getAsLong??*Primary terms go backwards; current term [?]translog path [ ?, existing term [?+recovered local translog from checkpoint {}?java/util/Collections?reverse(Ljava/util/List;)V??
??deleteFilesIgnoringExceptions([Ljava/nio/file/Path;)V??
'?equals?i
??Checkpoint file ?4 already exists but has corrupted content expected: ?
 but got: ?java/nio/file/CopyOption? java/nio/file/StandardCopyOption?REPLACE_EXISTING"Ljava/nio/file/StandardCopyOption;??	??copyY(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;??
??fsync(Ljava/nio/file/Path;Z)V??
'?ATOMIC_MOVE??	??move??
??	getParent????$closeResource1(Ljava/lang/Throwable;Ljava/lang/AutoCloseable;)V??
?delete(Ljava/nio/file/Path;)V??
??"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
???,()Lorg/apache/logging/log4j/message/Message;?lambda$recoverFromFiles$0@(Ljava/nio/file/Path;)Lorg/apache/logging/log4j/message/Message;??
??getE(Ljava/nio/file/Path;)Lorg/apache/logging/log4j/util/MessageSupplier;???G(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V???indexVersionCreatedminGenerationToRecoverFromcommittedTranslogFilereader3Lcom/groupbyinc/flux/index/translog/TranslogReader;icheckpointFromDiskcheckpointTranslogFilecommitCheckpointlockexLjava/io/IOException;foundTranslogsJLjava/util/ArrayList;Ljava/util/ArrayList;tempFiletempFileRenamedjava/nio/file/OpenOption? java/nio/file/StandardOpenOption?READ"Ljava/nio/file/StandardOpenOption;??	??java/nio/channels/FileChannel?openP(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;??
??parseIdFromFileName??
?expected generation: ??(Ljava/nio/channels/FileChannel;Ljava/nio/file/Path;Lcom/groupbyinc/flux/index/translog/Checkpoint;Ljava/lang/String;)Lcom/groupbyinc/flux/index/translog/TranslogReader;??
{?close?.
'?pathchannelLjava/nio/channels/FileChannel;java/lang/NumberFormatException???@	java/util/regex/Patternmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
	java/util/regex/Matchermatches

group(I)Ljava/lang/String;
java/lang/Long	parseLong(Ljava/lang/String;)J
Gnumber formatting issue in a file that passed PARSE_STRICT_ID_PATTERN: *(Ljava/lang/String;Ljava/lang/Throwable;)V[
"java/lang/IllegalArgumentExceptioncan't parse id from file: !
 !Ljava/lang/NumberFormatException;translogFilefileNameLjava/util/regex/Matcher;isOpen?
v)
compareAndSet(ZZ)Z+,
v-1com/groupbyinc/flux/index/translog/TranslogWriter/sync1p
02#closeFilesIfNoPendingRetentionLocks4p
5translog closed7F?9currentFileGeneration
getGeneration<
0=ignoredstream()Ljava/util/stream/Stream;@A	B&(Ljava/lang/Object;)Ljava/lang/Object;D5com/groupbyinc/flux/index/translog/BaseTranslogReaderF
G=HE(Lcom/groupbyinc/flux/index/translog/TranslogReader;)Ljava/lang/Long;Japply()Ljava/util/function/Function;LMNjava/util/stream/StreamPmap8(Ljava/util/function/Function;)Ljava/util/stream/Stream;RSQT'(Ljava/lang/Object;Ljava/lang/Object;)IV	compareTo(Ljava/lang/Long;)IXY
Z[#(Ljava/lang/Long;Ljava/lang/Long;)I]compare()Ljava/util/Comparator;_`amin,(Ljava/util/Comparator;)Ljava/util/Optional;cdQejava/util/Optionalg()Ljava/lang/Object;?i
hj(I)Ljava/lang/Object;?l	m
{=valueOf(J)Ljava/lang/Long;pq
r
?=the first translog isn't the one with the minimum generation:utotalOperations()I????????totalOperationsByMinGen(J)I{|
}sizeInBytessizeInBytesByMinGen(J)J??
?earliestLastModifiedAge
ensureOpen?p
?java/lang/System?currentTimeMillis?
??findEarliestLastModifiedAgeK(JLjava/lang/Iterable;Lcom/groupbyinc/flux/index/translog/TranslogWriter;)J??
?4com/groupbyinc/flux/index/translog/TranslogException?shardId)Lcom/groupbyinc/flux/index/shard/ShardId;??	?EUnable to get the earliest last modified time for the transaction log?>(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)V[?
??java/lang/Iterable?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext???next?i??getLastModifiedTime?
G?java/lang/Math?(JJ)Jc?
??
0?max??
??r7Lcom/groupbyinc/flux/index/translog/BaseTranslogReader;currentTimeILjava/lang/Iterable;Ljava/lang/Iterable;writerearliestTimeof-(Ljava/lang/Object;)Ljava/util/stream/Stream;??Q?concatM(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;??Q?i lambda$totalOperationsByMinGen$1;(JLcom/groupbyinc/flux/index/translog/BaseTranslogReader;)Z??
??:(Lcom/groupbyinc/flux/index/translog/BaseTranslogReader;)Z?test!(J)Ljava/util/function/Predicate;???filter9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;??Q?(Ljava/lang/Object;)I? lambda$totalOperationsByMinGen$2??
??:(Lcom/groupbyinc/flux/index/translog/BaseTranslogReader;)I?
applyAsInt$()Ljava/util/function/ToIntFunction;???mapToInt@(Ljava/util/function/ToIntFunction;)Ljava/util/stream/IntStream;??Q?java/util/stream/IntStream?sum?x??
minGeneration!estimateTotalOperationsFromMinSeqreadersAboveMinSeqNo(J)Ljava/util/stream/Stream;??
?wx
G???minSeqNolambda$sizeInBytesByMinGen$3??
???(Ljava/lang/Object;)J?lambda$sizeInBytesByMinGen$4??
??:(Lcom/groupbyinc/flux/index/translog/BaseTranslogReader;)JapplyAsLong%()Ljava/util/function/ToLongFunction;	mapToLongB(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;Qjava/util/stream/LongStream
?6(J)Lcom/groupbyinc/flux/index/translog/TranslogWriter;
0AB	4Mismatch translog header size; empty translog size [, header size [(I)Ljava/lang/StringBuilder;?
?fileGenerationgetChannelFactory5()Lcom/groupbyinc/flux/index/translog/ChannelFactory;

getBufferSize1()Lcom/groupbyinc/flux/common/unit/ByteSizeValue; 
b!P(Lcom/groupbyinc/flux/index/translog/Translog;)Ljava/util/function/LongSupplier;%&create,(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;JLjava/nio/file/Path;Lcom/groupbyinc/flux/index/translog/ChannelFactory;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;JJLjava/util/function/LongSupplier;Ljava/util/function/LongSupplier;J)Lcom/groupbyinc/flux/index/translog/TranslogWriter;()
0*"failed to create new translog file,S(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Ljava/lang/Throwable;)V[.
?/newFileinitialMinTranslogGeninitialGlobalCheckpointo(Lcom/groupbyinc/flux/index/translog/Translog$Operation;)Lcom/groupbyinc/flux/index/translog/Translog$Location;Ecom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException5@com/groupbyinc/flux/common/io/stream/ReleasableBytesStreamOutput7.(Lcom/groupbyinc/flux/common/util/BigArrays;)V[9
8:position<
8=skip(I)V?@
8A?com/groupbyinc/flux/index/translog/BufferedChecksumStreamOutputC6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V[E
DFwriteOperationNoSize{(Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamOutput;Lcom/groupbyinc/flux/index/translog/Translog$Operation;)VHI
Jseek(J)VNO
8PwriteIntR@
8SbytesB()Lcom/groupbyinc/flux/common/bytes/ReleasablePagedBytesReference;UV
8WprimaryTermYZ
0}com/groupbyinc/flux/common/bytes/ReleasablePagedBytesReferenceaseqNocdj(Lcom/groupbyinc/flux/common/bytes/BytesReference;J)Lcom/groupbyinc/flux/index/translog/Translog$Location;hf
0g+com/groupbyinc/flux/common/lease/Releasablei,com/groupbyinc/flux/common/lease/Releasablesk1([Lcom/groupbyinc/flux/common/lease/Releasable;)V?m
lncloseOnTragicEvent(Ljava/lang/Exception;)Vpq
rFailed to write operation [tstartend
operationSize@Lcom/groupbyinc/flux/common/bytes/ReleasablePagedBytesReference;	operation7Lcom/groupbyinc/flux/index/translog/Translog$Operation;outBLcom/groupbyinc/flux/common/io/stream/ReleasableBytesStreamOutput;shouldRollGeneration)Lcom/groupbyinc/flux/index/IndexSettings;L	?getGenerationThresholdSize? 
P?-com/groupbyinc/flux/common/unit/ByteSizeValue?getBytes?
??	thresholdgetLastWriteLocation8()Lcom/groupbyinc/flux/index/translog/Translog$Location;	0????(JJI)V[?
%?getLastSyncedGlobalCheckpointgetLastSyncedCheckpoint1()Lcom/groupbyinc/flux/index/translog/Checkpoint;??
0?newSnapshot8()Lcom/groupbyinc/flux/index/translog/Translog$Snapshot;newSnapshotFromGen9(J)Lcom/groupbyinc/flux/index/translog/Translog$Snapshot;??
?requested snapshot generation [?2] is not available. Min referenced generation is [?lambda$newSnapshotFromGen$5??
??	?lambda$newSnapshotFromGen$6I(Ljava/lang/Object;)Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;??
??n(Lcom/groupbyinc/flux/index/translog/BaseTranslogReader;)Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;?
Nllambda$newSnapshotFromGen$79(I)[Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;??
???"()Ljava/util/function/IntFunction;L??toArray5(Ljava/util/function/IntFunction;)[Ljava/lang/Object;??Q?6[Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;?newMultiSnapshotn([Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;)Lcom/groupbyinc/flux/index/translog/Translog$Snapshot;??
?	snapshots
readOperationo(Lcom/groupbyinc/flux/index/translog/Translog$Location;)Lcom/groupbyinc/flux/index/translog/Translog$Operation;	%?w?
0??x	?	{?
{?translogReader6Lcom/groupbyinc/flux/index/translog/Translog$Location;newSnapshotFromMinSeqNo7()Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;??
G??N lambda$newSnapshotFromMinSeqNo$8??
??
?plambda$newMultiSnapshot$9?p
??()Ljava/io/Closeable;???java/util/Arrays?.([Ljava/lang/Object;)Ljava/util/stream/Stream;@?
??G(Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;)Ljava/lang/Long;?N	longValue?
?3com/groupbyinc/flux/index/translog/TranslogSnapshot?	??first reader generation of ? is not the smallest?$acquireTranslogGenFromDeletionPolicy(J)Ljava/io/Closeable;??
?0com/groupbyinc/flux/index/translog/MultiSnapshot?L([Lcom/groupbyinc/flux/index/translog/TranslogSnapshot;Ljava/io/Closeable;)V[?
???p?onCloseLjava/io/Closeable;result6Lcom/groupbyinc/flux/index/translog/Translog$Snapshot;isHeldByCurrentThread
?;Ljava/util/stream/Stream;LLjava/util/Optional;Ljava/util/Optional;java/lang/Threadb
currentThread()Ljava/lang/Thread;de
cfgetNameh?
cigetTragicException()Ljava/lang/Exception;kl
0mgetCause()Ljava/lang/Throwable;op
`q
addSuppressed(Ljava/lang/Throwable;)Vst
`uinnerstats4()Lcom/groupbyinc/flux/index/translog/TranslogStats;!getTranslogGenerationOfLastCommitz
?{0com/groupbyinc/flux/index/translog/TranslogStats}
?
?
?(IJIJJ)V[?
~?uncommittedGen	getConfig5()Lcom/groupbyinc/flux/index/translog/TranslogConfig;getDeletionPolicy=()Lcom/groupbyinc/flux/index/translog/TranslogDeletionPolicy;verifyChecksumC(Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;)V>com/groupbyinc/flux/index/translog/BufferedChecksumStreamInput?getChecksum?
??readInt?x
??java/lang/Integer?toUnsignedLong(I)J??
??=com/groupbyinc/flux/index/translog/TranslogCorruptedException?*translog stream is corrupted, expected: 0x?toHexString??
?	, got: 0x?
?in@Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;expectedChecksumreadChecksumreadOperationsD(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/util/List;0com/groupbyinc/flux/common/io/stream/StreamInput?
??5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V[?
??y(Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;)Lcom/groupbyinc/flux/index/translog/Translog$Operation;??
?input2Lcom/groupbyinc/flux/common/io/stream/StreamInput;
operationsNLjava/util/ArrayList;numOpschecksumStreamInputjava/io/EOFException?+operation size must be at least 4 but was: ?resetDigest?p
??
markSupported?
??mark?@
????
????
?reset?p
??k(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/translog/Translog$Operation;???=com/groupbyinc/flux/index/translog/TruncatedTranslogException?4reached premature end of file, translog is truncated?
?opSize?Lcom/groupbyinc/flux/index/translog/TranslogCorruptedException;Ljava/io/EOFException;writeOperationsF(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/List;)V)com/groupbyinc/flux/common/util/BigArrays?NON_RECYCLING_INSTANCE?G	??1com/groupbyinc/flux/common/io/stream/StreamOutput?
?S
8?writeTo(Ljava/io/OutputStream;)V??
b?opchecksumStreamOutputALcom/groupbyinc/flux/index/translog/BufferedChecksumStreamOutput;	outStream3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;toWriteILjava/util/List;
D?writeOperationm(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/index/translog/Translog$Operation;)V???
D?
DSchecksumgetMinGenerationForSeqNoC(J)Lcom/groupbyinc/flux/index/translog/Translog$TranslogGeneration;;
?
getCheckpoint??
{?maxSeqNo??	??(Ljava/lang/String;J)V[

minTranslogFileGenerationrollGenerationcloseIntoReader5()Lcom/groupbyinc/flux/index/translog/TranslogReader;
0"

current translog set to [{}]trace?generationCheckpointtrimUnreferencedReadersminTranslogGenRequiredF(Ljava/util/List;Lcom/groupbyinc/flux/index/translog/TranslogWriter;)J
?/deletion policy requires a minReferenceGen of [#] but the lowest gen available is [/] which is higher than the current generation [removep???
{ Adelete translog file [{}], not referenced and not current anymore"deleteReaderFiles6(Lcom/groupbyinc/flux/index/translog/TranslogReader;)V$%
&2all readers were cleaned but the minReferenceGen [(#] is not the current writer's gen [*translogPathILjava/util/Iterator;Ljava/util/Iterator;minReferencedGenresolveSibling0??1pendingTranslogRefCount3x
?4Jclosing files. translog is closed and there are no pending retention locks6?8(Ljava/util/Collection;)V[:
o;?)
'=*Ljava/util/ArrayList;B()Lcom/groupbyinc/flux/index/translog/Translog$TranslogGeneration;	isCurrentC(Lcom/groupbyinc/flux/index/translog/Translog$TranslogGeneration;)Z	
?
??(commit belongs to a different translog: E vs. GtranslogFileGenerationI?	
J@Lcom/groupbyinc/flux/index/translog/Translog$TranslogGeneration;getFirstOperationPositiongetFirstOperationOffsetN
0Otranslog is already closedQ
6???VreadGlobalCheckpoint)(Ljava/nio/file/Path;Ljava/lang/String;)JW(Ljava/nio/file/Path;Ljava/lang/String;)Lcom/groupbyinc/flux/index/translog/Checkpoint;?Z
[expectedTranslogUUIDz(Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/channels/FileChannel;)Lcom/groupbyinc/flux/index/translog/TranslogHeader;w^
?_
Translog at [a] is corruptedc
?readMinTranslogGenerationgetTranslogUUID
getCurrent5()Lcom/groupbyinc/flux/index/translog/TranslogWriter;
getReaders()Ljava/util/List;createEmptyTranslogS(Ljava/nio/file/Path;JLcom/groupbyinc/flux/index/shard/ShardId;J)Ljava/lang/String;?(Ljava/nio/file/Path;JLcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/translog/ChannelFactory;J)Ljava/lang/String;ln
ochannelFactory3Lcom/groupbyinc/flux/index/translog/ChannelFactory;rms?
'temptyTranslogCheckpoint5(JJJJ)Lcom/groupbyinc/flux/index/translog/Checkpoint;vw
?xWRITEz?	?{
CREATE_NEW}?	?~write?(Lcom/groupbyinc/flux/index/translog/ChannelFactory;Ljava/nio/file/Path;Lcom/groupbyinc/flux/index/translog/Checkpoint;[Ljava/nio/file/OpenOption;)V??
?? com/groupbyinc/flux/common/UUIDs?randomBase64UUID??
??
[O
??lambda$createEmptyTranslog$12?
??#()Ljava/util/function/LongSupplier;??lambda$createEmptyTranslog$13?
???
0?checkpointFile'java/lang/UnsupportedOperationException?
?qj?p
?
G?????????x$0rec$Ljava/lang/Object;
G5org/apache/logging/log4j/message/ParameterizedMessage?failed to delete temp file {}?[
??java/lang/AutoCloseable???
-ux0Ljava/lang/Throwable;x1Ljava/lang/AutoCloseable;java/lang/Class?desiredAssertionStatus?
??^translog-(\d+)(\.tlog)$?compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;??
?
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTable{(Lcom/groupbyinc/flux/index/translog/Checkpoint;)Ljava/util/ArrayList;?(JLjava/lang/Iterable;Lcom/groupbyinc/flux/index/translog/TranslogWriter;)JV(J)Ljava/util/stream/Stream<+Lcom/groupbyinc/flux/index/translog/BaseTranslogReader;>;T(Ljava/util/stream/Stream;)Z}(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/util/List;(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/List;)VG()Ljava/util/List;BootstrapMethods
SourceFileInnerClasses!,-?/0-?23-?56-?89-?;<-?>?@ABCD?EFGHIJIKLMNOPQRSTUTV-WXYZR[\?m?*+?f+?j?m*?oY?r?t*?vY?w?y*+?{*?}*?*-??*,??*+??????Y??:*??Y??????*??Y??????*+????*??????W*????:*????
a????:*????????:	?Ú>?Ÿə2??,?Ӆ??$??Y??Y??ڶ????޶??	?Ÿə???*??????*?t*??
W*?t???Y??6
*?**??
a*??!?%?6

?*?t?+?:
?
*?t?+??:?Y*?S?0*?t?+??Mhwwyw???`?z??12??3L??4L	H@5Z
?67?89?QR?V-?WX?ST?UTNX:;??'?sz"?'?-?3?8?=?E?N?`?r?z??????????????.?:?E?H?M?e?h?m?w?~????????????????y??
b????????%&?1b????????-?
-?b?????B`?^?=?oY?rN*??58????:6*???C::*??E+?H+?K	??K*?N?T:
?Ú0
?Z?^?%??Y??Y??`??
???޶??*???c7?	+?K7+????:
-**??
??+?g?kW+??
e7???*??????:

?Ÿɚ>?Y??Y??m???pr???pt??+???pv?޶??*
*???????y?g:?ÚW?~*?????E??Y??Y?????*????p???
??????~?p?޶??-?kW*???+?H
e7??-????Y*??
e????SY*??
e????S??*??+??????:?ŸəM?y:+???:?Y??Y????????????+??????????D*??>????Y??S??W????Y??S??W6????=?'???::?:?
????-?+?P???H:*???????1:?-?+????:*???????-?*?-*???????^?????^?????I<?X
??????L
,n???????@?2???????-
???L'??I??????89125Z
?????L??Z?
?????=??
???*?7?@?I?|??????????????????,?Y?t????????????????????????9?<W]or}	???	?
??
??????
??
????????|?o??-V???%??^??r{?????@??o??--H-?
?o??--??o?L^V-?	?o?-L^??o??^??de?}+??Y??S??N?Ú;+??,????/??Y??Y?????+???p???,???p???-+,*????:N:?Y-S???:?Y-S???_mmom?4Y??}89}?L}12n???&	MY[_ jm z!??M?_-?^	????c*???L?+?
M,??/,???N?Y??Y????+???޶?-??? Y??Y??"??+?޶?#?#$?*%"6$c%LW&-O'?*+,.$/%0G3??$??"(?E*?y?*????89?8?@?p?Ak*?y?.?a*???CLM*??3*?6?
N*?6-?+?,+???N-M-?:+?,+???*??8?:?:*??8?:??$+7-+<7><JYY[Y?6?Ik89?>=>@B!C$B)C+D7><DJEVFYEgFjH?4?$?--K-D-?
-?N-?^K??/*????89?P;??0*???CLM*??>B+?,+??!?N-M-?:+?,+???
-
"$"?(?I089?W
XYXW"Y?+??-??--D-?
-???*???CLM*?t??*??>B+?,+??!??Ú^*?t?C?O?U?b?f?k?*?t?n?{?o?s?t?"??Y??Y??v??*?t????*?t?n?{?oB+?,+??!?N-M-?:+?,+???
?-)??-
?)????????I?89?6
`
abh'b)dWekd?f?h?f?`?h?5?'?-??`???--D-?
-wx?2*y?~??89?o?2*y????89?v??K*???CLM*????*?t*???B+?,+??!?N-M-?:+?,+???L??Y*??????
(-
-(/-&;^(;;^? 3?I<6?K89?"z
{|}&|(z-}<~?8?&?-??--D-?
-?^????@7,??:??????G:????7???	-????e????4!??@??@C?@?N=???@C????!?-?0?????$?^??{|?c*???CN:*??*?t?C*???????????????6-?	-???::?:-?	-???>K->TKVT? [?Ic89c???*
???(?2?7?>?H?K?T??+?H?-??--H-?-?|??J*???CN:*??*???????6-?	-???::?:-?	-???%2-%;2=;? B?IJ89J??????%?/?2?;??+?/?-??--H-?-???c*???CN:*??*?t?C*???????????	?
7-?	-???::?:-?	-???>K->TKVT? [?Ic89c???*
???(?2?7?>?H?K?T??,?H?-??--H-?-"??W**?*?}???%N?Ú?-?????3??Y??Y????-??p?޲??޶??-?? W89W?D?N???7?U???U0?^"#??	U*??*??*??????*?*?{?"!*?}*?'*????+:?:??Y*??-?0??<?^?H<1NA6?U89U?U2?U3?R1N?*
????2?7?<???A?R????^?0?^h4? \?8Y*???;M,?>B,?B?DY,?G+?K,?>7Le!e?6,!?Q,?T,?Q,?X:*???C:	:
*??+?[*??\??k?Ú4??Y??Y??^??*??\?p`??+???޶?꿻 Y??Y??^??*??\?p`??+???޶?#?*?+?e?h:	?

	???jY,S?o?::
?:	?

	???N*-?s-?N*-?s??Y*????Y??u??+???޶?-?0?:
?jY,S?o
?V??-V??	?6?^?6?^? `? `?L?NL?f
S??I	v?(?w?3?xBJ?Uy?7!+?7\89\z{P|}?~????"?(?3?8?>?D?J?V?Z?k????????????????????? ?!?&?L?Y?j	??	8b?-0?%?
	8b?--H-?
-?8`G`k-?^~?t*??@*??????B!????? 89?????
?	?@????C*???CLM?%Y*???*??
e???N+?,+??-?N-M-?:+?,+???
%0-
%5075?;?IC89?
%.05?,?.?-%??--D-?
-???3*???CLM*????!B+?,+??!?N-M-?:+?,+???
 -
% '%?+?I389?%
&'& %%'?+??-??--D-?
-????1*???CLM**???N+?,+??-?N-M-?:+?,+???
-
#%#?)?I189?/
010/#1?,??-"??--D-?
-?^???t?*???CN:*??*???1? Y??Y??????p???*??p?޶?#?*?t?C*????????????U??????:*??:-?	-???::?:-?	-?????-??????*}????I?89????6
567849F;_<i=}>???>?5???4?F?-?H?"??--H-?-?^???P?*???CMN*??+??*???:,?-,???*???+?Ŕ?*?+??:,?-,???*?t??d6?:*?t?n?{:??+?Ŕ?+??:,?-,????????,?!-,???:N?:,?-,????M*,?s,??

?-)B?-N??-???-
?)B?N????????&?`)K?`N??`???`?>p!??[<?B??I??7?89?K??fG
HIJY&J)L8OBYKONR`SpT}U?Y?U?R?Y?G?Y?\?Y?Z?[?]?`?&?-??!???2{??K-G-?
%?--?%B`?^???Z*???CN:*??*????U??????:*??:-?	-???::?:-?	-???5B-5KBMK?*-??R?IZ89Z???&	abc#d-e5f?eBaKf?9???-?"??--H-?-?^???s?+????M?a?ÚP+????U?b?f?k???+2?%??Y??Y????+???޶??*+2???M>??Y+,??:>:?	,???:?	,???n?????>??y?89???l/??n-5Z?:klnaplrntyu{vx?y?v?x?y?{?2?R?
?""??-?-?^????p?ÚN*????D*????:??Y??Y????*????	??*????	?޶??*?t?C*??????????p89p???/?Q?j?o???Q?????9*???CLM*??*?B*!??:+?,+???N-M-?:+?,+???
&-
+&-+? ?1?I989?"?
????#?&?+??C?#?-??--D-?
?--???S*???N*-??? 89?	 ?
?	?1p??F*???CLM*?y?*?
*??3+?,+???N-M-?:+?,+????L*+?s+??
'-
,'.,:=`? 2?I>?7F89?.?
???'?,?:?=?>?C?E??)??-K-D-?
-?B`?^!??0*???CLM*??#>+?,+???N-M-?:+?,+???
-
"$"?(?I089??
????"??*??-??--D-?
-	???C??Y??5???p8?޶?????????C??Y??5???p;?޶??????$%??,?Ú!y????Y'??*???C::*??*??\??5? Y??Y??)???p+??*??\?p-?޶?#??Ú*?!?1???Y?2??oY*?t???4:*?t?5:???7???{:		?~??	!*??9?	:

?:W??ŧ:?+*?;?*?t?>*?t?
W?'???::?:?
???????^%-%?R?
??
?%??	?6??o@D"	?I,89,A?,B???o@E?f??%?)?5?T?g????????????????????????????????+??f
?M?-?	??,{A{?B^
?#?--H-?

?--??^CD?Ek*???CMN+??*??>??&*??*?+?G+?I?a?M6,?-,???,?!-,???:N?:,?-,????M*,?s,??
0H-
0PHRP9a`<^a`?*V?Ib?7k89kK??:?
???0?9?<?H?P?^?a?b?g?i??0?9?-?K-G-?
-?%B`?^CN??!+?U?WM,?Z?*,?k?%?\??? !89!]_?a?!]^?`????h?^??pq??P?Ú*??????Y?g?j??*??n?**?;?#M?M?Ú+,?r???Y?2?+,?v?(,/6(,3`? 4w7P89P?7?*
(,/034JO!?P6C`?`?xy?
P*???CLM*???|B?~Y*?*??*!?~*!??*????:+?,+???N-M-?:+?,+???
1=-
1B=DB? +??H?IP89?(
)*1+:*=(B+?C?:?-~??--D-?
?--???/*?{??89?/???/*????89?4????@*??@*????B!??/??Y??Y????????????!???޶????? @??;??
3?????
??%???????^	????0?oY?rL*??=??Y*??N6?+-???kW????+??4?B0??(??
#?B???(?????
???(?.????o???^?????6e*??=???Y??Y??????????*??*?Ù*??*d???X*??*??*??L*?ʧM,?M??Y?,?տ+?PS?PV??>K?BLz{T6?W6?e??cz{?F??
?&?*?1?6???C?G?L?P?S?T?V?W?c???& ???B???^	????
??8Y?߷;M*+????DY,?GN+?5:???Y???:,??,?>7,?B-?K,?>7,?>Lee?6
,?Q,
?T,?Q,?X:*?????jY,S?o?:?jY,S?o????????\	F=v?W,w?exB
}Uy<G?{h???????D?|}?????V??<@FKQWek	q
w}?
???????&8D??_M-?^??	HI?c*??*+??*??A* ????? |??{???	?^???k
?*???CN:*??7*?t?5:???+???{:??????o??7??ѻ
Y*???:-?	-???::?:	-?	-??	?]j-]sjus?42??Y?z?I?89?c??.&-.2/?0K2N3]4g3j&s4?Q??-?.??
??--H-?	?--p???*???CLM*??	N*?t-?:W*??>??:?Ú?y??*??>????Y?2?*??*??>????:????W??????***??>
a??*??
*??>?s??N?Y*S?0-?+?,+???N-M-?:+?,+????
??`
??-
??????>???*z1L`DL?
67?? ?89?R>
@AB*CKDSE`FlGrH}J?K?O?L?M?N?P?>?P?Q?T?Kj-{??[j-`
K-D-?
j--??^p?	?*???CLM*?y?*?
+?,+???*??*?t*??B?Ú:!*???1??Y??Y????!?p??*??p?޶?꿲Ú:!*????1??Y??Y????!?p??*???p?޶??*?t?5:???T???{:?o!???;??YS?0?!:*??#?*??3*?'????ÚL*?t??@*???!??4??Y??Y??)??!?p+??*????p?޶??+?,+???N-M-?:+?,+????L*+?s+??
i-]i-
n]nipn`|`?H?B???,L?[?..//?t?I??7?89??[?-?vX
Yy[].^Y`ka?c?f?g?h?i?k?l?m?n?stuv]yiXny||y?z?{?}?R??-?L+?,+???N-M-?:+?,+????
CO-
CTOVT? 6
?Z?Ic89?6
??*
?
??*?6???C?O?T?b??$?C?-K-D-?
-??^<@??8*???CLM?
Y*??*???N+?,+??-?N-M-?:+?,+???
%-
*%,*?0?I889??
??#?%?*??,?#?-
??--D-?
-AB?@?*???CMN+?\+?C*???D?/? Y??Y??F??+?C??H??*???޶?#?+?K*?????6,?-,???,?!-,???:N?:,?-,????
[s-
[{s}{? ??I?89??L?.?
???H?[?d?g?s?{????1	?H?-@?
?K-G-?
-?
M?2*??P??89???p?X*?y?*??6YR*??n?S???89??
????0?W??89??kl?2*??n??89?????6*>???y??KL???^	XY?M*+?\M,?!?? KL]-12?
???^
?Z???*??M*,??????N-??Y??S??::+-?`W?'???::?:?
????.:?:??Y??Y??b??*??d?޶??e?,?&.=-&.F=HFWZ?W_`?H#4??\??a$?7?KL?]-?12t%L?6
???&?.?=?F?W?Z?\?_?a????E?=?????--H-?
-?????B?D`%?^	fY?M*+?\M,?K?? KL]-12?
???^g??/*????89?hi?/*???89?jk?/*?t??89???	lm?h?W:*-?p??4KL3???Y?qr?
?^ln????Y*S?u*????W	

?y:*>??:??Y?|SY?S??????:	-	
*
??????Y???
?????+:

??	??\	?KL?3?????qr?Y?c12'Y?LK5V-	x?N
?*
'@FKx!}"?^
?? ??Y????
?? ??Y??????+??*??*?6?M*??*?6,???89 ?"??
???????Q-
?^
??m,???B!???	!????? ???????
???	?@
?p???l?^
???/?????B?d
???/?????B?=
???2*?G?Ѱ????=
???N,?H??????????<?
@
???2*?G????????
???N,?H????????????
@
???2*?G???????
???N,?H????????????
@
???6??Y?*?????L?
???g*?+???M*,???	+???

-??????	?M-?p?N#?????????????ӳ??_op?@???????EIK?W\^????????????????????#$#?????E???????E???????????EI????????WRT?TUT?#?#?#?#?	?Z
@				 	"#	%&	(*+




© 2015 - 2024 Weber Informatics LLC | Privacy Policy