-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
multi_bson_stream_cursor_bm triggers an invariant failure on Windows (BF-47316). The benchmark pre-writes data to a file in /tmp/ (kDefaultPipePath) using a plain std::ofstream, then re-reads it with a fresh cursor on every iteration. On Windows kDefaultPipePath is //./pipe/, the named-pipe device ** namespace: not backed by any filesystem, so the ofstream open fails.
The data location is chosen by mongod, so the benchmark can't change it to a different directory on disk. We could instead feed the data from a live producer thread, but that would require pipe setup, handshakes, and kernel byte transport inside every iteration, which would become the main latency bottleneck and defeats the purpose of the benchmark.