Skip to content

Commit 0cdd409

Browse files
brentleyjonescopybara-github
authored andcommitted
Rename --experimental_remote_cache_compression to --remote_cache_compression
We (and most of our customers) been using this in production for a long time, and at least since 6.0 haven’t run into any issue. It should no longer be marked experimental. RELNOTES: `--experimental_remote_cache_compression` has been renamed to `--remote_cache_compression` Closes #17990. PiperOrigin-RevId: 523934013 Change-Id: I397f0b3b45dc11e7d6bbb28b043c41dad0843c59
1 parent 0e8e611 commit 0cdd409

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/google/devtools/build/lib/remote/RemoteServerCapabilities.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,7 @@ public static ClientServerCompatibilityStatus checkClientServerCompatibility(
251251
if (remoteOptions.cacheCompression
252252
&& !cacheCap.getSupportedCompressorsList().contains(Compressor.Value.ZSTD)) {
253253
result.addError(
254-
"--experimental_remote_cache_compression requested but remote does not support"
255-
+ " compression");
254+
"--remote_cache_compression requested but remote does not support compression");
256255
}
257256

258257
// Check result cache priority is in the supported range.

src/main/java/com/google/devtools/build/lib/remote/options/RemoteOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ public RemoteBuildEventUploadModeConverter() {
419419
public boolean incompatibleRemoteDanglingSymlinks;
420420

421421
@Option(
422-
name = "experimental_remote_cache_compression",
422+
name = "remote_cache_compression",
423+
oldName = "experimental_remote_cache_compression",
423424
defaultValue = "false",
424425
documentationCategory = OptionDocumentationCategory.REMOTE,
425426
effectTags = {OptionEffectTag.UNKNOWN},

0 commit comments

Comments
 (0)