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

CODENVY-2199: Do not snapshot /tmp folder #5168

Merged
merged 3 commits into from
May 25, 2017
Merged

CODENVY-2199: Do not snapshot /tmp folder #5168

merged 3 commits into from
May 25, 2017

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented May 23, 2017

What does this PR do?

Prevents adding /tmp folder from a workspace container into a snapshot.
Added ability to specify a user for docker exec.

What issues does this PR fix or reference?

codenvy/codenvy#2199

Changelog

Ignore /tmp folder when creating workspace snapshot.

Release Notes

Snapshots No Longer Capture tmp
We have implemented a small but important change in how we handle snapshots. In order to speed up snapshotting when stopping a workspace, and snapshot restore when workspaces startup we are no longer snapshotting the tmp directory. In many cases this has trimmed >50% of the total snapshot size and noticeably increased the speed of snapshotting and restoring.

Docs PR

eclipse-che/che-docs#232

Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
@bmicklea
Copy link

Is this true for Che as well? Or only Codenvy?

@mmorhun
Copy link
Contributor Author

mmorhun commented May 23, 2017

@bmicklea for both Che and Codenvy

@bmicklea
Copy link

This will require docs changes that will have to be approved before I can approve this PR: eclipse-che/che-docs#232

@bmicklea
Copy link

@slemeur do you think we need to mention this in the release notes?

@slemeur
Copy link
Contributor

slemeur commented May 23, 2017

@bmicklea : Yes I think we can have a section for the enhancement of the snapshotting policy. (based on the docs)

@slemeur slemeur added the kind/enhancement A feature request - must adhere to the feature request template. label May 23, 2017
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
@codenvy-ci
Copy link

Build # 2646 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/2646/ to view the results.

Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
@codenvy-ci
Copy link

@mmorhun mmorhun added this to the 5.12.0 milestone May 25, 2017
@mmorhun mmorhun merged commit 60488ad into master May 25, 2017
@mmorhun mmorhun deleted the CODENVY-2199 branch May 25, 2017 12:20
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants