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

com.groupbyinc.flux.index.shard.StoreRecovery.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?-com/groupbyinc/flux/index/shard/StoreRecoveryjava/lang/ObjectStoreRecovery.javaCcom/groupbyinc/flux/index/shard/StoreRecovery$StatsDirectoryWrapperStatsDirectoryWrapper7com/groupbyinc/flux/cluster/routing/RecoverySource$Type	2com/groupbyinc/flux/cluster/routing/RecoverySourceType8com/groupbyinc/flux/indices/recovery/RecoveryState$Index2com/groupbyinc/flux/indices/recovery/RecoveryStateIndexIcom/groupbyinc/flux/cluster/routing/RecoverySource$SnapshotRecoverySourceSnapshotRecoverySource;com/groupbyinc/flux/indices/recovery/RecoveryState$TranslogTranslog:com/groupbyinc/flux/index/mapper/MapperService$MergeReason.com/groupbyinc/flux/index/mapper/MapperServiceMergeReasonIcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig$OpenMode@com/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig OpenMode>com/groupbyinc/flux/indices/recovery/RecoveryState$VerifyIndex#VerifyIndex8com/groupbyinc/flux/indices/recovery/RecoveryState$Timer&Timer%java/lang/invoke/MethodHandles$Lookup)java/lang/invoke/MethodHandles+Lookuplogger!Lorg/apache/logging/log4j/Logger;shardId)Lcom/groupbyinc/flux/index/shard/ShardId;$assertionsDisabledZM(Lcom/groupbyinc/flux/index/shard/ShardId;Lorg/apache/logging/log4j/Logger;)V()V46
7./	901	;this/Lcom/groupbyinc/flux/index/shard/StoreRecovery;recoverFromStore/(Lcom/groupbyinc/flux/index/shard/IndexShard;)Z
canRecoverA@
B*com/groupbyinc/flux/index/shard/IndexShardD
recoveryState6()Lcom/groupbyinc/flux/indices/recovery/RecoveryState;FG
EHgetRecoverySource6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource;JK
LgetType;()Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;NO
P23	REMPTY_STORE9Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;TU	
VEXISTING_STOREXU	
Yjava/lang/AssertionError[java/lang/StringBuilder]
^7&expected store recovery type but was: `append-(Ljava/lang/String;)Ljava/lang/StringBuilder;bc
^d-(Ljava/lang/Object;)Ljava/lang/StringBuilder;bf
^gtoString()Ljava/lang/String;ij
^k(Ljava/lang/Object;)V4m
\n"java/lang/invoke/LambdaMetafactorypmetafactory?(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;rs
qtu6lambda$recoverFromStore$0/(Lcom/groupbyinc/flux/index/shard/IndexShard;)Vxy
z{runq(Lcom/groupbyinc/flux/index/shard/StoreRecovery;Lcom/groupbyinc/flux/index/shard/IndexShard;)Ljava/lang/Runnable;}~executeRecoveryC(Lcom/groupbyinc/flux/index/shard/IndexShard;Ljava/lang/Runnable;)Z??
?recoveryType
indexShard,Lcom/groupbyinc/flux/index/shard/IndexShard;recoverFromLocalShards^(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/index/shard/IndexShard;Ljava/util/List;)Zjava/io/IOException?LOCAL_SHARDS?U	
?%expected local shards recovery type: ?java/util/List?isEmpty()Z????"java/lang/IllegalArgumentException?shards must not be empty?(Ljava/lang/String;)V4?
??stream()Ljava/util/stream/Stream;????&(Ljava/lang/Object;)Ljava/lang/Object;?lambda$recoverFromLocalShards$1W(Lcom/groupbyinc/flux/index/shard/LocalShardSnapshot;)Lcom/groupbyinc/flux/index/Index;??
???apply()Ljava/util/function/Function;???java/util/stream/Stream?map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????java/util/stream/Collectors?toSet()Ljava/util/stream/Collector;??
??collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????
java/util/Set?size()I????)can't add shards from more than one index?get(I)Ljava/lang/Object;????2com/groupbyinc/flux/index/shard/LocalShardSnapshot?getIndexMetaData6()Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
??2com/groupbyinc/flux/cluster/metadata/IndexMetaData?getMappings7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;??
??3com/groupbyinc/flux/common/collect/ImmutableOpenMap?iterator()Ljava/util/Iterator;??
??java/util/Iterator?hasNext????next()Ljava/lang/Object;????Gcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor?keyLjava/lang/Object;??	??java/lang/String?value??	??4com/groupbyinc/flux/cluster/metadata/MappingMetaData?java/util/function/BiConsumer?accept'(Ljava/lang/Object;Ljava/lang/Object;)V????
mapperService2()Lcom/groupbyinc/flux/index/mapper/MapperService;??
E?MAPPING_RECOVERY;ILcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor;indices2Ljava/util/Set;Ljava/util/Set;sourceMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;	indexSort6Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;isSplitmappingUpdateConsumeriLjava/util/function/BiConsumer;Ljava/util/function/BiConsumer;shardsFLjava/util/List;Ljava/util/List;
addIndices!(Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;[Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;JJLcom/groupbyinc/flux/cluster/metadata/IndexMetaData;IZZ)Vjava/lang/ThrowableB(com/groupbyinc/flux/common/lucene/LuceneDcleanLuceneIndex=(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)VFG
EH
\7readSegmentInfosy(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;KL
EM;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfosOgetIndexCreatedVersionMajorQ?
PR(I)V4T
PUcommitWG
PXKcom/groupbyinc/flux/common/apache/lucene/store/HardlinkCopyDirectoryWrapperZ4G
[\?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)V4^
!_setCommitOnCloseE(Z)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;ab
!c([Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)J??
~?5com/groupbyinc/flux/common/apache/lucene/search/Query?3com/groupbyinc/flux/index/shard/ShardSplittingQuery?9(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;IZ)V4?
??deleteDocuments;([Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)J??
~??lambda$addIndices$4(JJ)Ljava/util/Iterator;??
??(JJ)Ljava/lang/Iterable;???setLiveCommitData(Ljava/lang/Iterable;)V??
~?()JW?
~?close?6
~?
addSuppressed(Ljava/lang/Throwable;)V??
C?;[Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;?writer(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)V42
/3[{}] restoring shard [{}]5snapshot*()Lcom/groupbyinc/flux/snapshots/Snapshot;78
9totalOperations;T
<totalOperationsOnStart>T
?mj
A'com/groupbyinc/flux/index/shard/ShardIdCgetIndexNameEj
DFequals(Ljava/lang/Object;)ZHI
?J_na_LidN?
DO((Ljava/lang/String;Ljava/lang/String;I)V4Q
DR+com/groupbyinc/flux/repositories/RepositoryTgetRepositoryData3()Lcom/groupbyinc/flux/repositories/RepositoryData;VWUX/com/groupbyinc/flux/repositories/RepositoryDataZresolveIndexId>(Ljava/lang/String;)Lcom/groupbyinc/flux/repositories/IndexId;\]
[^&com/groupbyinc/flux/snapshots/Snapshot`
getSnapshotId,()Lcom/groupbyinc/flux/snapshots/SnapshotId;bc
ad
frestoreShard?(Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/snapshots/SnapshotId;Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/repositories/IndexId;Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/indices/recovery/RecoveryState;)VhiUjshardRouting2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;lm	En*only primary shards can recover from storep(com/groupbyinc/flux/repositories/IndexIdrrestore donetrestore failedv
/?snapshotShardId	indexNameindexId*Lcom/groupbyinc/flux/repositories/IndexId;
restoreSource
translogState=Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog;restoring from {} ...?-?
?java/util/HashMap?
?U(J)Ljava/lang/String;i?
??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??
??local_checkpoint?max_unsafe_auto_id_timestamp?entrySet()Ljava/util/Set;??
????liveCommitData9Ljava/util/HashMap;Ljava/util/HashMap;&starting recovery from local shards {}?getSnapshotDirectory??
???p(Lcom/groupbyinc/flux/index/shard/LocalShardSnapshot;)Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;???lambda$recoverFromLocalShards$2>(I)[Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;??
???"()Ljava/util/function/IntFunction;???toArray5(Ljava/util/function/IntFunction;)[Ljava/lang/Object;????(Ljava/lang/Object;)J???
???7(Lcom/groupbyinc/flux/index/shard/LocalShardSnapshot;)J?applyAsLong%()Ljava/util/function/ToLongFunction;???	mapToLongB(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;????java/util/stream/LongStream?max()Ljava/util/OptionalLong;????java/util/OptionalLong?	getAsLong??
????
????
?+()Lcom/groupbyinc/flux/index/shard/ShardId;0?
E?@A
?wy
?
forceMerge(ZIZZZ)V??
?#failed to recover from local shards?exx$0#()Lcom/groupbyinc/flux/index/Index;?
??s4Lcom/groupbyinc/flux/index/shard/LocalShardSnapshot; starting recovery from store ...?a??java/lang/Class?desiredAssertionStatus??
??CodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions	Signature?(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/index/shard/IndexShard;Ljava/util/List;)ZBootstrapMethods
SourceFileInnerClasses0./012345?Y*?8*,?:*+?01./?JK	LM?@??Q*+?C?J+?I?M?QM?S?,,?W?%,?Z??\Y?^Y?_a?e,?h?l?o?*+*+??????? <?UQ=>Q???YZ[B]Ob??B
????~
7*,?C?0,?I?M?Q:?S?'????\Y?^Y?_??e?h?l?o?-???
??Y????-????????????:???
??Yŷ??-???˶?:?ն?:???(????:+????????????,?????,?:,???
6?
,????6	?S?!	??? ?$??\Y&?o?*,*-,	?.?????p?/1!?Un?24??56?W78?N3?893	7=>7:<7??7=??*?/0n?237:;7=>?Nfgh>iGjQlnmyn?p?q?r?s?t?v?w?x?y!{5??;	?>
?1?????.?.@?%??E?????@A??	,?I?S????\Y?J?2?N?S6
?PY
?V,?Y?[Y,?]:?!Y?`?d?j?n?r?v:-?
-?zW?~Y?Y+????::??X???Y??Y	
??S??X??????X????C:???7???/::?:????:??????????Cx??Cx?????C?????u???=>????78???????6	0?
?33$???
;???U????V???$?1?;?D?J?P?U?Y?`?x?????????????????|?G|!?>~C`CGCHC?|??|!~CCC?|??|!??????Z*+?C?S+?I?M?QN?S?&-?¥?\Y?^Y?_Ķe-?h?l?o?+?I?M?:*+*+,???????4E?UH??Z=>Z??Z???<HX??<
?A@?v(+?Բڦ?+?޶???Y*?<?????(=>(???
 "#&%????`?,??+??N+?I:?S?@-???
-???2?\Y?^Y?_??e*????&?hA?e?>?D?&?h(?eWF?e?J?M?O?e?J?P?&?h?eW*?:R?V?W?&?[?&*?:?^?*?:`?V?W?&?d?N+?Բڦ?-?h??
-?h???-?N? N+?Բڦ???Y*?<l-????????????????\	gm?p
no?p??Fq?$rs?rt?=>????uv??#-012T4`5g6p7?8?9?:?;?<?=>#?6@LAdB}C?D?F?G?H?J?L?N?P?Q?X?R?S?U?W?Y?K?%?.?+"?E?????E?jC??????wy??
+?IM,?M?Q?W??>+?|}7:+??:??????:?o:?:	??????:	?1:

???^Y?_	?e??e
???e??e?l:	?&??Y*??ERU?/???v???/??y/???/???????W,t
Ee	@jrt?rt23??	I|m??r??rt=>??Fq?3!??$?*??
B`abc!d$e*f/i4k;w>l@mEoRsUpWq^r?t?u?x?y?z?~?????????????????3?4?D?I?P?W?g?o?v?|????????????????????????????????????????????f?@?&EP???	EP????-?&B?'?@"B?"c?RC	??????	=,??:+? ?#:???$????:?&7-?*??ر?H0	+?',==>===m?7?????'?0?9?<???|??*??-???
5+?I?J:-??/Y*?<1?4?*?:??*?:6-?:*?#rt5=>5??5??5}?	,~?~?	?
??(?<?B?H?L?R?X?g?|??????????????????????????!?#?4??U???D???EUD?s?P??EU????k*?:?+?I?M?d*+,-????*=>???????
?????=?????78?93?3?>|
~5?O?P?i?{????????????????	???
???/?|?????
???/*??????lxy?N*?:??*+?ֱ?=>???^_`?6?4????S??E?@?\	vw|wv???vw+wv???vw?wv???v???v???v?????R


@			@!"@$%	'(	*,-




© 2015 - 2024 Weber Informatics LLC | Privacy Policy