Commit 0623f9f
committed
docs(qwp): fix stale comments left behind by the Invariant-B budget-terminal removal (M4 residual)
Comment-only; no code changes. 6be20d6/e9a1e7d removed connectLoop's
wall-clock budget give-up and the never-connected/connection-lost
terminal, but four comments still described the old world:
- InitialConnectRetryTest.makeSfDir / InitialConnectAsyncTest.sfDirOpt
claimed 'initial_connect_retry on/sync/async requires sf_dir per spec
s3.5; without it the builder rejects construction' -- no such
validation exists (Sender.build silently falls back to a memory-mode
CursorSendEngine, and QuestDBBuilder.resolveLazyConnect injects
initial_connect_retry=async with no sf_dir check). Now documents that
the tests set sf_dir deliberately to exercise the durable SF path.
- InitialConnectAsyncTest class javadoc listed 'budget exhaustion' as a
terminal delivered to the error inbox -- under Invariant B plain
connect failures retry indefinitely; only auth / upgrade reject /
durable-ack capability gap terminals reach the inbox.
- testWasEverConnectedTrueImmediatelyInSyncMode referenced the deleted
never-connected-vs-connection-lost misclassification rationale.
- CursorWebSocketSendLoop.connectWithRetry javadoc said it is the 'same
retry loop the I/O thread uses' -- the loops diverged: connectLoop
retries forever (Invariant B), connectWithRetry (SYNC) remains bounded
by maxDurationMillis and still throws on budget exhaustion.
PrReviewRedTestsE2e's budget-exhausted reference is left as-is: it is a
dated historical record of the PR-17 review findings.1 parent 844454c commit 0623f9f
3 files changed
Lines changed: 24 additions & 16 deletions
File tree
- core/src
- main/java/io/questdb/client/cutlass/qwp/client/sf/cursor
- test/java/io/questdb/client/test/cutlass/qwp/client
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
382 | 384 | | |
383 | 385 | | |
384 | 386 | | |
| |||
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
286 | | - | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
367 | 370 | | |
368 | 371 | | |
369 | 372 | | |
| |||
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments