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

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

There is a newer version: 59
Show newest version
????3?-com/groupbyinc/flux/index/engine/ShadowEngine'com/groupbyinc/flux/index/engine/EngineShadowEngine.java.com/groupbyinc/flux/index/engine/Engine$CreateCreate-com/groupbyinc/flux/index/engine/Engine$Index	Index.com/groupbyinc/flux/index/engine/Engine$DeleteDelete5com/groupbyinc/flux/index/engine/Engine$DeleteByQuery
DeleteByQuery0com/groupbyinc/flux/index/engine/Engine$CommitIdCommitId9com/groupbyinc/flux/index/engine/Engine$SyncedFlushResultSyncedFlushResult+com/groupbyinc/flux/index/engine/Engine$GetGet1com/groupbyinc/flux/index/engine/Engine$GetResult	GetResultNONEXISTENT_INDEX_RETRY_WAITLjava/lang/String;$index.shadow.wait_for_initial_commit $DEFAULT_NONEXISTENT_INDEX_RETRY_WAIT+Lcom/groupbyinc/flux/common/unit/TimeValue;searcherManagerALcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;lastCommittedSegmentInfos=Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;2(Lcom/groupbyinc/flux/index/engine/EngineConfig;)Vjava/lang/Throwable*java/io/IOException,()
.6com/groupbyinc/flux/index/engine/EngineSearcherFactory0
1.-com/groupbyinc/flux/index/engine/EngineConfig3getIndexSettings0()Lcom/groupbyinc/flux/common/settings/Settings;56
47"#	9,com/groupbyinc/flux/common/settings/Settings;	getAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;=>
<?)com/groupbyinc/flux/common/unit/TimeValueA	getMillis()JCD
BEstore'Lcom/groupbyinc/flux/index/store/Store;GH	I%com/groupbyinc/flux/index/store/StoreKincRef()VMN
LO	directory<()Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;QR
LS(com/groupbyinc/flux/common/lucene/LuceneUwaitForIndex>(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;J)ZWX
VY>com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader[open|(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;]^
\_shardId)Lcom/groupbyinc/flux/index/shard/ShardId;ab	cDcom/groupbyinc/flux/common/lucene/index/ElasticsearchDirectoryReaderewrap?(Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/common/lucene/index/ElasticsearchDirectoryReader;gh
fi?com/groupbyinc/flux/common/apache/lucene/search/SearcherManagerk?(Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherFactory;)V(m
ln$%	preadLastCommittedSegmentInfos?(Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;Lcom/groupbyinc/flux/index/store/Store;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;rs
t&'	v?com/groupbyinc/flux/common/apache/lucene/search/SearcherFactoryxjava/lang/IllegalStateExceptionzjava/lang/StringBuilder|(N
}~$failed to open a shadow engine after?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
}?(J)Ljava/lang/StringBuilder;??
}?ms, ?directory is not an index?toString()Ljava/lang/String;??
}?(Ljava/lang/String;)V(?
{?java/io/Closeable?5com/groupbyinc/flux/common/apache/lucene/util/IOUtils?closeWhileHandlingException([Ljava/io/Closeable;)V??
??decRef?N
L?logger-Lcom/groupbyinc/flux/common/logging/ESLogger;??	?failed to create new reader?java/lang/Object?+com/groupbyinc/flux/common/logging/ESLogger?warn=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V?????com/groupbyinc/flux/index/engine/EngineCreationFailureException?failed to open index reader?S(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Ljava/lang/Throwable;)V(?
??created new ShadowEngine?trace((Ljava/lang/String;[Ljava/lang/Object;)V????eLjava/lang/Throwable;reader@Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;successZexLjava/io/IOException;this/Lcom/groupbyinc/flux/index/engine/ShadowEngine;engineConfig/Lcom/groupbyinc/flux/index/engine/EngineConfig;searcherFactoryALcom/groupbyinc/flux/common/apache/lucene/search/SearcherFactory;nonexistentRetryTimeJcreate3(Lcom/groupbyinc/flux/index/engine/Engine$Create;)V0com/groupbyinc/flux/index/engine/EngineException?'java/lang/UnsupportedOperationException?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
}?. create operation not allowed on shadow engine?
??0Lcom/groupbyinc/flux/index/engine/Engine$Create;index2(Lcom/groupbyinc/flux/index/engine/Engine$Index;)Z- index operation not allowed on shadow engine?/Lcom/groupbyinc/flux/index/engine/Engine$Index;delete3(Lcom/groupbyinc/flux/index/engine/Engine$Delete;)V. delete operation not allowed on shadow engine?0Lcom/groupbyinc/flux/index/engine/Engine$Delete;:(Lcom/groupbyinc/flux/index/engine/Engine$DeleteByQuery;)VLjava/lang/Deprecated;7 delete-by-query operation not allowed on shadow engine?7Lcom/groupbyinc/flux/index/engine/Engine$DeleteByQuery;	syncFlush?(Ljava/lang/String;Lcom/groupbyinc/flux/index/engine/Engine$CommitId;)Lcom/groupbyinc/flux/index/engine/Engine$SyncedFlushResult;3 sync commit operation not allowed on shadow engine?syncIdexpectedCommitId2Lcom/groupbyinc/flux/index/engine/Engine$CommitId;flush4()Lcom/groupbyinc/flux/index/engine/Engine$CommitId;6(ZZ)Lcom/groupbyinc/flux/index/engine/Engine$CommitId;??
?skipping FLUSH on shadow engine??refresh??
?readLock;Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock;??	?9com/groupbyinc/flux/common/util/concurrent/ReleasableLock?acquire=()Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock;??
?closeN
?
addSuppressed(Ljava/lang/Throwable;)V
+isClosed+Ljava/util/concurrent/atomic/AtomicBoolean;	
	)java/util/concurrent/atomic/AtomicBoolean
get()Z
,failed to read latest segment infos on flushisCorruptionException(Ljava/lang/Throwable;)Z
V;com/groupbyinc/flux/index/engine/FlushFailedEngineExceptionA(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/Throwable;)V(
;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfosgetId()[B !
"([B)V($
%lockforce
waitIfOngoing
forceMerge(ZIZZZ)V%skipping FORCE-MERGE on shadow engine,maxNumSegmentsIonlyExpungeDeletesupgradeupgradeOnlyAncientSegmentsb(Lcom/groupbyinc/flux/index/engine/Engine$Get;)Lcom/groupbyinc/flux/index/engine/Engine$GetResult;getFromSearcher43
5-Lcom/groupbyinc/flux/index/engine/Engine$Get;getTranslog/()Lcom/groupbyinc/flux/index/translog/Translog;#shadow engines don't have translogs:segments(Z)Ljava/util/List;getSegmentInfok(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Z)[Lcom/groupbyinc/flux/index/engine/Segment;>?
@+[Lcom/groupbyinc/flux/index/engine/Segment;B(com/groupbyinc/flux/index/engine/SegmentD	committedF?	EGjava/util/ArraysIasList%([Ljava/lang/Object;)Ljava/util/List;KL
JMjava/util/ListOisegmentsArrverboseEcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedExceptionT6com/groupbyinc/flux/index/engine/EngineClosedExceptionV
ensureOpenXN
YmaybeRefreshBlocking[N
l\java/lang/String^refresh failed`
failEngine*(Ljava/lang/String;Ljava/lang/Throwable;)Vbc
d=com/groupbyinc/flux/index/engine/RefreshFailedEngineExceptionf
gGLcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException;8Lcom/groupbyinc/flux/index/engine/EngineClosedException;tsource
snapshotIndexA(Z)Lcom/groupbyinc/flux/index/deletionpolicy/SnapshotIndexCommit;*Can not take snapshot from a shadow engineo
flushFirstgetSearcherManagerC()Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;closeNoLock
compareAndSet(ZZ)Zuv
w2shadow replica close searcher manager refCount: {}yrefCount()I{|
L}java/lang/IntegervalueOf(I)Ljava/lang/Integer;??
??debug?????
??/shadow replica failed to close searcher manager?reasonhasUncommittedChangesgetLastCommittedSegmentInfos?()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;indexWriterRAMBytesUsedShadowEngine has no IndexWriter?timeValueSeconds.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
B?
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
DeprecatedRuntimeVisibleAnnotations	Signature?(Z)Ljava/util/List;
SourceFileInnerClasses!?!"#B$%B&'()?F	*+?/?1Y+?2M+?8!?:?@?FB:*?J?P6*?J?T!?Z?9*?J?T?`*?d?j:*?lY,?o?q**?q*?J?u?w6?(?{Y?}Y????!??????????????L??YS??*?J???6:*????????:???YS??*?J????:??Y*?d????*????????+??++???????-?R???!???+?????????????????rDEFGHJ!K(L+N9OLPZQiRoT?\?]?^?X?Y?Z?\?]?^?c?a?b?de?=?o4y\$Z+U+?+?4yB-???R??Y?}Y?*?d??Զ????տ??????j?????R??Y?}Y?*?d??ڶ????տ??????o?????R??Y?}Y?*?d??߶????տ??????t?????R??Y?}Y?*?d???????տ??????{????????\??Y?}Y?*?d???????տ? ??????????1*????????????	?*???????*???*?J?P*???N:**?q*?J?u?w-?P?-??D:??8-??1::?:-??-??:??-??*?J???IN*???(*??-????-???Y*?d-??*?J???:*?J????Y*?w?#?&?	?CF+'6Y+'6bmqt+Ydb??+?????????4$c'??/??????(??)??N????'?6?Y?b????????????????????????Q?F?++F+H+??+++?I+/I+??*+?q*??-??????>????./0?1?2??
????3?:*+?6????7????89?5??Y;?տ?????<=??	?*???MN**?w?A:6??2?H?????N:,?-?,??:-??,??:N?:,?-?,??:-??,??>BE+
6W+
6_imp+Wa_?4Q/BRBz'?????S??&	?
?? ?)?/?6?W?_??j
??+C???+CP+
??++G+??+++
???????*???MN*?Z*?q?],?K-?,??@:-??5,??.:N?:,?-?,??:-??,???$M*?Z?M,?M*a,?e?gY*?d,?h??!$+
6+
>HLO+6@>adUalWao+?>Y'?e?im?jpk?????l?B?
???6?>?a?d?e?i?l?m?o?p?x????W?$_?++
F+G+?_?+++
?_BUGWB+??mn????Yp?տ???q?????rs?/*?q??????t???h*??x?^*??z??Y*?J?~??S????Y*?qS??*?J???)M*???,????*?J???
N*?J??-??7A+7]AS]? Bk?h??h??.??)?7?>?A?B?S?Z?]?g??
?A+[+	??,?????????/*?w???????D?5??Y??տ??????N?"
????:??=??B

			@		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy