Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary open&close cycle in rsync tar strategy #19161

Merged
merged 1 commit into from
Apr 13, 2018

Conversation

soltysh
Copy link
Contributor

@soltysh soltysh commented Mar 30, 2018

This is coming from the discussion I've had with @csrwng in 6213342#r28271910. This replaces open&close with a simple seek operation to reset the position in a file during rsync with tar strategy

@juanvallejo mind double checking if this works ok with that windows machine you have handy?

/assign @csrwng @juanvallejo

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: soltysh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 30, 2018
@csrwng
Copy link
Contributor

csrwng commented Apr 4, 2018

lgtm pending testing on windows/mac

@soltysh
Copy link
Contributor Author

soltysh commented Apr 5, 2018

@juanvallejo any luck with windows testing?

@juanvallejo
Copy link
Contributor

@soltysh @csrwng

any luck with windows testing?

Yes, compiled this PR for windows, and verified that oc rsync with the tar strategy behaves the same as on linux

@soltysh
Copy link
Contributor Author

soltysh commented Apr 9, 2018

I'm tagging this for merge based on comments.

@soltysh soltysh added the lgtm Indicates that a PR is ready to be merged. label Apr 9, 2018
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit b8b9a94 into openshift:master Apr 13, 2018
@soltysh soltysh deleted the remove_read_open branch April 16, 2018 13:32
mjudeikis pushed a commit to mjudeikis/origin that referenced this pull request Apr 16, 2018
Remove unnecessary open&close cycle in rsync tar strategy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants