Bug #16039
closedFUSE respects ForwardSlashNameSubstitution
100%
Updated by Tom Clegg almost 5 years ago
16039-fuse-forward-slash-sub @ 487e8f756d63c6e68eb300a559eccb504f78c40b -- developer-run-tests: #1723
Updated by Peter Amstutz almost 5 years ago
Tom Clegg wrote:
16039-fuse-forward-slash-sub @ 487e8f756d63c6e68eb300a559eccb504f78c40b -- developer-run-tests: #1723
If you run this against a pre-2.0 server it runs into trouble because there's no public config endpoint in 1.4.
It doesn't crash on mount, but when you do ask for a directory listing where a name has a slash, you get an I/O error, because fetching from the config endpoint is deferred until first use.
Arv-mount should either fail gracefully (don't support older versions) or (preferably) have a fallback behavior (substitute '_' like it did before).
Updated by Peter Amstutz almost 5 years ago
2nd comment, it looks like SlashSubstitutionTest checks that writing to path that's been rewritten for ForwardSlashNameSubstitution doesn't fail, but it doesn't verify that it actually wrote to the correct collection. It should check that self.testcoll
actually has a 'waz' file. Also 'foo-bar-baz' and 'foo/bar/baz' should have different file contents (to check that they arn't being confused for one another).
Updated by Tom Clegg almost 5 years ago
- adds test for name conflict case (which was broken... and is fixed)
- falls back to old behavior (replace with "_") if apiserver has no config endpoint, or FSNS entry is missing
Updated by Tom Clegg almost 5 years ago
- Target version changed from 2020-02-12 Sprint to 2020-02-26 Sprint
Updated by Tom Clegg almost 5 years ago
- Touches various setup.py to work around dependency bug #16151
Updated by Peter Amstutz almost 5 years ago
Tom Clegg wrote:
16039-fuse-forward-slash-sub @ a4f57793d8757c451330e6d861eb3c5af2bff3b8 -- developer-run-tests: #1730
- Touches various setup.py to work around dependency bug #16151
LGTM.
Updated by Anonymous almost 5 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|48c38895200cdafaaeca37299bf8352878389a77.