You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by John Kordich via Review Board <no...@reviews.apache.org> on 2018/03/07 17:53:46 UTC

Review Request 65936: Changed flags to CreateFile to support Windows symlink path resolution.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65936/
-----------------------------------------------------------

Review request for mesos, Akash Gupta, Andrew Schwartzmeyer, and Jeff Coffler.


Repository: mesos


Description
-------

Changed flags to CreateFile to support Windows symlink path resolution.


Diffs
-----

  3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp 858b3c7c27e95b9cf46a7457c1aaa05a0e19188d 


Diff: https://reviews.apache.org/r/65936/diff/1/


Testing
-------

I encountered a permissions error stating "The process cannot access the file because it is being used by another process." when attempting to download stderr/stdout from a task running on a Windows agent, or when attempting to download the mesos agent log on a Windows agent. 

After some very helpful information from Andy and Akash, I made this change and confirmed it fixed this issue with the task/agent logs.

I also ran the automated tests on Windows and all tests pass.

I did not test this on Linux, but because this file is compiled only on Windows, it shouldn't be necessary.


Thanks,

John Kordich


Re: Review Request 65936: Changed flags to CreateFile to support Windows symlink path resolution.

Posted by John Kordich via Review Board <no...@reviews.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65936/
-----------------------------------------------------------

(Updated March 7, 2018, 10:24 a.m.)


Review request for mesos, Akash Gupta, Andrew Schwartzmeyer, and Jeff Coffler.


Changes
-------

Added bug.


Bugs: MESOS-8646
    https://issues.apache.org/jira/browse/MESOS-8646


Repository: mesos


Description
-------

Changed flags to CreateFile to support Windows symlink path resolution.


Diffs
-----

  3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp 858b3c7c27e95b9cf46a7457c1aaa05a0e19188d 


Diff: https://reviews.apache.org/r/65936/diff/1/


Testing
-------

I encountered a permissions error stating "The process cannot access the file because it is being used by another process." when attempting to download stderr/stdout from a task running on a Windows agent, or when attempting to download the mesos agent log on a Windows agent. 

After some very helpful information from Andy and Akash, I made this change and confirmed it fixed this issue with the task/agent logs.

I also ran the automated tests on Windows and all tests pass.

I did not test this on Linux, but because this file is compiled only on Windows, it shouldn't be necessary.


Thanks,

John Kordich