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

VCH Management APIs: Support concurrent read/write access to the VCH creation log #6730

Closed
zjs opened this issue Nov 8, 2017 · 2 comments
Closed
Labels
area/api The Vritual Container Host management API component/install kind/debt Problems that increase the cost of other work priority/p2 team/lifecycle

Comments

@zjs
Copy link
Member

zjs commented Nov 8, 2017

#6665 (comment) raises a potential issue around reading and writing the creation log via different hosts. We should verify (manually, if that's easiest, or by referencing documentation, if it covers this) that the issue affects us given that we're accessing the files via VC, and apply the suggested fix if so.

This will not be able to access the file if it is open via a different process (for example still being uploaded) if not accessed via the same host. I do not know if this is an issue or not.
If it is then a specific host can be chosen for the operation by setting a target host in the context: c.vm.Datastore.HostContext(op, h)
See

ctx = c.vm.Datastore.HostContext(ctx, h)
for usage.

@zjs zjs added area/api The Vritual Container Host management API component/install kind/debt Problems that increase the cost of other work team/lifecycle labels Nov 8, 2017
@zjs zjs added this to the Sprint 21 Lifecycle milestone Nov 8, 2017
@zjs zjs removed this from the Sprint 21 Lifecycle milestone Nov 14, 2017
@zjs
Copy link
Member Author

zjs commented Nov 14, 2017

Deferring from 1.3 after discussion with @hickeng. While this would be undesirable, it's not clear that it's (a) actually an issue, or (b) our issue.

@zjs
Copy link
Member Author

zjs commented Apr 24, 2018

Closing as we haven't seen any indication that this is actually an issue.

@zjs zjs closed this as completed Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api The Vritual Container Host management API component/install kind/debt Problems that increase the cost of other work priority/p2 team/lifecycle
Projects
None yet
Development

No branches or pull requests

2 participants