com.groupbyinc.flux.index.store.Store.class Maven / Gradle / Ivy
???? 4 %com/groupbyinc/flux/index/store/Store ;com/groupbyinc/flux/index/shard/AbstractIndexShardComponent java/io/Closeable 5com/groupbyinc/flux/common/util/concurrent/RefCounted
Store.java 5com/groupbyinc/flux/index/store/Store$StoreStatsCache
StoreStatsCache -com/groupbyinc/flux/index/store/Store$OnClose
OnClose 9com/groupbyinc/flux/index/store/Store$VerifyingIndexInput VerifyingIndexInput @com/groupbyinc/flux/index/store/Store$LuceneVerifyingIndexOutput LuceneVerifyingIndexOutput 2com/groupbyinc/flux/index/store/Store$RecoveryDiff RecoveryDiff 6com/groupbyinc/flux/index/store/Store$MetadataSnapshot MetadataSnapshot 4com/groupbyinc/flux/index/store/Store$StoreDirectory StoreDirectory 'com/groupbyinc/flux/index/store/Store$2 'com/groupbyinc/flux/index/store/Store$1 ! java/util/Map$Entry #
java/util/Map % Entry 3com/groupbyinc/flux/env/NodeEnvironment$ShardLocker ( 'com/groupbyinc/flux/env/NodeEnvironment * ShardLocker 4com/groupbyinc/flux/common/settings/Setting$Property - +com/groupbyinc/flux/common/settings/Setting / Property ;java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock 2 1java/util/concurrent/locks/ReentrantReadWriteLock 4 WriteLock :java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock 7 ReadLock %java/lang/invoke/MethodHandles$Lookup : java/lang/invoke/MethodHandles < Lookup CODEC Ljava/lang/String; store A VERSION_WRITE_THROWABLE I VERSION_STACK_TRACE
VERSION_START VERSION CORRUPTED
corrupted_ L *INDEX_STORE_STATS_REFRESH_INTERVAL_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; ZLcom/groupbyinc/flux/common/settings/Setting; isClosed +Ljava/util/concurrent/atomic/AtomicBoolean; directory 6Lcom/groupbyinc/flux/index/store/Store$StoreDirectory; metadataLock 3Ljava/util/concurrent/locks/ReentrantReadWriteLock; shardLock #Lcom/groupbyinc/flux/env/ShardLock; onClose /Lcom/groupbyinc/flux/index/store/Store$OnClose;
statsCache 3Lcom/groupbyinc/flux/common/util/SingleObjectCache; aLcom/groupbyinc/flux/common/util/SingleObjectCache;
refCounter ?Lcom/groupbyinc/flux/common/util/concurrent/AbstractRefCounted; $assertionsDisabled Z ?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/index/store/DirectoryService;Lcom/groupbyinc/flux/env/ShardLock;)V java/io/IOException d EMPTY f Z g ?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/index/store/DirectoryService;Lcom/groupbyinc/flux/env/ShardLock;Lcom/groupbyinc/flux/index/store/Store$OnClose;)V b i
j this 'Lcom/groupbyinc/flux/index/store/Store; shardId )Lcom/groupbyinc/flux/index/shard/ShardId;
indexSettings )Lcom/groupbyinc/flux/index/IndexSettings; directoryService 2Lcom/groupbyinc/flux/index/store/DirectoryService; U(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/IndexSettings;)V b t
u )java/util/concurrent/atomic/AtomicBoolean w (Z)V b y
x z Q R | ()V b ~
5 U V ? <(Lcom/groupbyinc/flux/index/store/Store;Ljava/lang/String;)V b ?
" ? ^ _ ? 'com/groupbyinc/flux/index/IndexSettings ? getSettings 0()Lcom/groupbyinc/flux/common/settings/Settings; ? ?
? ? 0com/groupbyinc/flux/index/store/DirectoryService ? newDirectory <()Lcom/groupbyinc/flux/common/apache/lucene/store/Directory; ? ?
? ? index.store.deletes ? java/lang/String ? *com/groupbyinc/flux/common/logging/Loggers ? getLogger ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/shard/ShardId;[Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ? ?
? ? u(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V b ?
? S T ? W X ? Y Z ? N O ? getValue A(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/lang/Object; ? ?
? ? )com/groupbyinc/flux/common/unit/TimeValue ? h(Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)V b ?
? [ \ ? logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ? ? ? 4store stats are refreshed with refresh_interval [{}] ? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? debug '(Ljava/lang/String;Ljava/lang/Object;)V ? ? ? ? ` a ? java/lang/AssertionError ?
? 'com/groupbyinc/flux/index/shard/ShardId ? !com/groupbyinc/flux/env/ShardLock ? ,com/groupbyinc/flux/common/settings/Settings ?
getShardId +()Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
? ? equals (Ljava/lang/Object;)Z ? ?
? ? settings .Lcom/groupbyinc/flux/common/settings/Settings; refreshInterval +Lcom/groupbyinc/flux/common/unit/TimeValue;
ensureOpen ? ~
? readLastCommittedSegmentsInfo ?()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; Dcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexException ? failIfCorrupted ? ~
? S ?
? readSegmentsInfo ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; ? ?
? markStoreCorrupted (Ljava/io/IOException;)V ? ?
? ex FLcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexException; java/io/EOFException ? java/lang/Exception ? :com/groupbyinc/flux/common/apache/lucene/index/IndexCommit ? getDirectory ? ?
? ? (com/groupbyinc/flux/common/lucene/Lucene ? readSegmentInfos y(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; ? ?
? ? {(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; ? ?
? ? ;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos ? )Read past EOF while reading segment infos java/lang/StringBuilder
commit( append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
) toString ()Ljava/lang/String;
<(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V b
? 4Hit unexpected exception while reading segment infos eof Ljava/io/EOFException; exception Ljava/io/IOException; Ljava/lang/Exception; commit