Skip to content

Remote: Fixed a bug that remote cache is missed due to executable bit is changed#13276

Closed
coeuvre wants to merge 1 commit intobazelbuild:masterfrom
coeuvre:fix-13262
Closed

Remote: Fixed a bug that remote cache is missed due to executable bit is changed#13276
coeuvre wants to merge 1 commit intobazelbuild:masterfrom
coeuvre:fix-13262

Conversation

@coeuvre
Copy link
Copy Markdown
Member

@coeuvre coeuvre commented Mar 29, 2021

Fixes #13262.

#12820 changed to set executable bit of input files based on its real value. However, this causes cache misses in --remote_download_toplevel mode since executable bit is changed after action execution by ActionMetadataHandler#getMetadata.

This change effectively rolls back #12820.

… is different. bazelbuild#13262

bazelbuild#12820 changed to set executable bit of input files based on its real value. However, this causes cache misses in --remote_download_toplevel mode since executable bit is changed after action execution by ActionMetadataHandler#getMetadata. This change effectively rolls back bazelbuild#12820.
@bazel-io bazel-io closed this in 20996f6 Apr 6, 2021
philwo pushed a commit that referenced this pull request Apr 19, 2021
… is changed

Fixes #13262.

#12820 changed to set executable bit of input files based on its real value. However, this causes cache misses in `--remote_download_toplevel` mode since executable bit is changed after action execution by `ActionMetadataHandler#getMetadata`.

This change effectively rolls back #12820.

Closes #13276.

PiperOrigin-RevId: 367009617
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes team-Remote-Exec Issues and PRs for the Execution (Remote) team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4.1.0rc1 regression: Extraneous cache misses with --remote_download_toplevel

2 participants