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

WX-735 Fix incorrect and/or nondeterministic filesystem ordering #6930

Merged
merged 9 commits into from
Oct 14, 2022
Merged
Prev Previous commit
Next Next commit
Leave room for higher priority
aednichols committed Oct 11, 2022
commit 261a4f50b9beab95aaed5e6995d531831f843e1f
Original file line number Diff line number Diff line change
@@ -34,5 +34,5 @@ final case class BlobPathBuilderFactory(globalConfig: Config, instanceConfig: Co
}
}

override def priority = 1
override def priority = 100
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there somewhere that we could add documentation that we think we'll maintain? Knowing what filesystems have a priority override from default would be nice if we ever have to change this so we don't have to chase through all the filesystems.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for sure a weakness of this solution. I definitely have a desire to be able to look at one place and see the relative priorities. But at the same time, that would require Cromwell core to add dependencies on ALL of the subordinate file systems, which is clearly not ideal either. I am very open to brainstorming, and since it's relatively simple it is easy to change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed a new commit implementing the constants suggestion from mob time.

}