Skip to content

Commit

Permalink
Adjust BWC version for variable cached blob size (#69857)
Browse files Browse the repository at this point in the history
Now #69692 has been merged in branch 7.12 we can adjust the 
BWC version in the BlobStoreCacheService in branch 7.x.
  • Loading branch information
tlrx authored Mar 3, 2021
1 parent 2c5fedc commit 954e2cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public class BlobStoreCacheService {
private static final Logger logger = LogManager.getLogger(BlobStoreCacheService.class);

/**
* Before 8.0.0 blobs were cached using a 4KB or 8KB maximum length.
* Before 7.12.0 blobs were cached using a 4KB or 8KB maximum length.
*/
private static final Version OLD_CACHED_BLOB_SIZE_VERSION = Version.V_7_13_0; // TODO adjust after backport
private static final Version OLD_CACHED_BLOB_SIZE_VERSION = Version.V_7_12_0;

public static final int DEFAULT_CACHED_BLOB_SIZE = ByteSizeUnit.KB.toIntBytes(1);
private static final Cache<String, String> LOG_EXCEEDING_FILES_CACHE = CacheBuilder.<String, String>builder()
Expand Down

0 comments on commit 954e2cc

Please sign in to comment.