Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,14 @@ public class SearchableSnapshots extends Plugin implements IndexStorePlugin, Eng
/**
* Returns the preference for new searchable snapshot indices. When
* performing a full mount the preference is cold - warm - hot. When
* performing a partial mount the preference is frozen - cold - warm - hot.
* performing a partial mount the preference is only frozen
*/
public static String getDataTiersPreference(MountSearchableSnapshotRequest.Storage type) {
switch (type) {
case FULL_COPY:
return String.join(",", DataTier.DATA_COLD, DataTier.DATA_WARM, DataTier.DATA_HOT);
case SHARED_CACHE:
return String.join(",", DataTier.DATA_FROZEN, DataTier.DATA_COLD, DataTier.DATA_WARM, DataTier.DATA_HOT);
return DataTier.DATA_FROZEN;
default:
throw new IllegalArgumentException("unknown searchable snapshot type [" + type + "]");
}
Expand Down