Skip to content

Write/QueryWriteStatus logging refinement/addition#12928

Closed
werkt wants to merge 1 commit intobazelbuild:masterfrom
werkt:write-logging-improvements
Closed

Write/QueryWriteStatus logging refinement/addition#12928
werkt wants to merge 1 commit intobazelbuild:masterfrom
werkt:write-logging-improvements

Conversation

@werkt
Copy link
Copy Markdown
Contributor

@werkt werkt commented Jan 29, 2021

Improve the logging of WriteRequests to include offset and finish_write
information. Offsets are logged for the initial and non-sequential per
successive write request. Each finish_write true request is logged with
the effective size of the resource at the completion of the write
request, including the current offset and payload. Clarified comments
for WriteDetails, and corrected some comment inconsistencies.

Add logging for QueryWriteStatus calls which occur on progressive writes
to determine an offset to begin a write call on a retry.

Improve the logging of WriteRequests to include offset and finish_write
information. Offsets are logged for the initial and non-sequential per
successive write request. Each finish_write true request is logged with
the effective size of the resource at the completion of the write
request, including the current offset and payload. Clarified comments
for WriteDetails, and corrected some comment inconsistencies.

Add logging for QueryWriteStatus calls which occur on progressive writes
to determine an offset to begin a write call on a retry.
@google-cla google-cla Bot added the cla: yes label Jan 29, 2021
@coeuvre coeuvre self-requested a review February 1, 2021 05:20
@coeuvre coeuvre added the team-Remote-Exec Issues and PRs for the Execution (Remote) team label Feb 1, 2021
@coeuvre coeuvre self-assigned this Feb 1, 2021
Copy link
Copy Markdown
Member

@coeuvre coeuvre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@bazel-io bazel-io closed this in 32fc451 Feb 4, 2021
@werkt werkt deleted the write-logging-improvements branch February 5, 2021 06:59
philwo pushed a commit that referenced this pull request Mar 15, 2021
Improve the logging of WriteRequests to include offset and finish_write
information. Offsets are logged for the initial and non-sequential per
successive write request. Each finish_write true request is logged with
the effective size of the resource at the completion of the write
request, including the current offset and payload. Clarified comments
for WriteDetails, and corrected some comment inconsistencies.

Add logging for QueryWriteStatus calls which occur on progressive writes
to determine an offset to begin a write call on a retry.

Closes #12928.

PiperOrigin-RevId: 355545331
philwo pushed a commit that referenced this pull request Mar 15, 2021
Improve the logging of WriteRequests to include offset and finish_write
information. Offsets are logged for the initial and non-sequential per
successive write request. Each finish_write true request is logged with
the effective size of the resource at the completion of the write
request, including the current offset and payload. Clarified comments
for WriteDetails, and corrected some comment inconsistencies.

Add logging for QueryWriteStatus calls which occur on progressive writes
to determine an offset to begin a write call on a retry.

Closes #12928.

PiperOrigin-RevId: 355545331
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.

2 participants