Commit 6845f4a
fix(v9.1.0): non-blocking prev_drained_is_set + truthful flatfiles doc
- `ThetaDataDx::prev_drained_is_set()` now uses `try_lock()` instead
of `lock()`. Returning `true` on contention is the institutionally
safe choice: the FFI `_free` path uses this signal to decide
whether to wait on the drain barrier, and "wait" is the correct
fail-safe when a stop is actively in flight. The contention window
is microseconds (the lock is held only across the
`Option<Arc<AtomicBool>>` swap), so the false-positive cost is
negligible. Poison is recovered the same way the previous `lock()`
path did, so behaviour on a poisoned mutex is unchanged.
- `flatfile_request_raw` rustdoc no longer claims the INDEX walker
and FIT decoder are tracked as TODOs — both shipped in the
flat-files wave and live behind `flatfile_request_decoded`. The
raw-bytes path documents that it returns the unparsed vendor
format for callers that want to keep the on-disk layout.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 80a8fb1 commit 6845f4a
2 files changed
Lines changed: 24 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
473 | 483 | | |
474 | 484 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
479 | 495 | | |
480 | 496 | | |
481 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
0 commit comments