|
@@ -11,7 +11,7 @@ import org.apache.lucene.util.SetOnce;
|
|
|
import org.elasticsearch.Version;
|
|
|
import org.elasticsearch.action.ActionRequest;
|
|
|
import org.elasticsearch.action.ActionResponse;
|
|
|
-import org.elasticsearch.blobstore.cache.BlobStoreCacheService;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.cache.blob.BlobStoreCacheService;
|
|
|
import org.elasticsearch.client.Client;
|
|
|
import org.elasticsearch.cluster.metadata.IndexMetadata;
|
|
|
import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver;
|
|
@@ -41,12 +41,12 @@ import org.elasticsearch.index.engine.Engine;
|
|
|
import org.elasticsearch.index.engine.EngineFactory;
|
|
|
import org.elasticsearch.index.engine.FrozenEngine;
|
|
|
import org.elasticsearch.index.engine.ReadOnlyEngine;
|
|
|
-import org.elasticsearch.index.store.SearchableSnapshotDirectory;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.store.SearchableSnapshotDirectory;
|
|
|
import org.elasticsearch.index.store.Store;
|
|
|
import org.elasticsearch.index.translog.Translog;
|
|
|
import org.elasticsearch.index.translog.TranslogStats;
|
|
|
import org.elasticsearch.indices.SystemIndexDescriptor;
|
|
|
-import org.elasticsearch.indices.recovery.SearchableSnapshotRecoveryState;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.recovery.SearchableSnapshotRecoveryState;
|
|
|
import org.elasticsearch.license.LicenseUtils;
|
|
|
import org.elasticsearch.license.XPackLicenseState;
|
|
|
import org.elasticsearch.plugins.ActionPlugin;
|
|
@@ -74,17 +74,26 @@ import org.elasticsearch.xpack.core.action.XPackUsageFeatureAction;
|
|
|
import org.elasticsearch.xpack.core.searchablesnapshots.MountSearchableSnapshotAction;
|
|
|
import org.elasticsearch.xpack.core.searchablesnapshots.MountSearchableSnapshotRequest;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.ClearSearchableSnapshotsCacheAction;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.action.SearchableSnapshotsInfoTransportAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.SearchableSnapshotsStatsAction;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.action.SearchableSnapshotsUsageTransportAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.TransportClearSearchableSnapshotsCacheAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.TransportMountSearchableSnapshotAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.TransportSearchableSnapshotsStatsAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.cache.FrozenCacheInfoAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.cache.FrozenCacheInfoNodeAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.action.cache.TransportSearchableSnapshotCacheStoresAction;
|
|
|
-import org.elasticsearch.xpack.searchablesnapshots.cache.CacheService;
|
|
|
-import org.elasticsearch.xpack.searchablesnapshots.cache.FrozenCacheInfoService;
|
|
|
-import org.elasticsearch.xpack.searchablesnapshots.cache.FrozenCacheService;
|
|
|
-import org.elasticsearch.xpack.searchablesnapshots.cache.PersistentCache;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.allocation.FailShardsOnInvalidLicenseClusterListener;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.allocation.SearchableSnapshotAllocator;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.allocation.SearchableSnapshotIndexEventListener;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.allocation.SearchableSnapshotIndexFoldersDeletionListener;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.allocation.decider.HasFrozenCacheAllocationDecider;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.allocation.decider.SearchableSnapshotAllocationDecider;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.allocation.decider.SearchableSnapshotEnableAllocationDecider;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.cache.full.CacheService;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.cache.shared.FrozenCacheInfoService;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.cache.shared.FrozenCacheService;
|
|
|
+import org.elasticsearch.xpack.searchablesnapshots.cache.full.PersistentCache;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.rest.RestClearSearchableSnapshotsCacheAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.rest.RestMountSearchableSnapshotAction;
|
|
|
import org.elasticsearch.xpack.searchablesnapshots.rest.RestSearchableSnapshotsStatsAction;
|