-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 4.1 Required
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
Dev Tools 2019-05-06, Dev Tools 2019-05-20
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The MONGO_INITIALIZER actions are stored in a hash map keyed by their string names. This is traversed to produce the inputs to the unstable topological sort that determines their execution order. They are inserted in some order determined by an executable's linker line. So, it's possible for a Graph that's missing a prerequisite constraint edge to slip through testing, since the input order will be kind of stable until an initializer changes its name or the link order changes.
Anyway, we should add randomness to the selections made by the topological sort so that if there's a missing dependency constraint we'll be likely to encounter it in testing.
- related to
-
SERVER-48377 Make MONGO_INITIALIZER scrambling reproducible
-
- Backlog
-