Repository navigation
Conversation
4f6286c to
ed69f22
Compare
internal.log_lines: preserve microsecond timestamp order across writer batches
ed69f22 to
2f9af2c
Compare
43e9704 to
9eb7824
Compare
9eb7824 to
5c0254b
Compare
5c0254b to
3b580e8
Compare
3b580e8 to
350a7fc
Compare
Strix Security ReviewNo security issues found. Review summaryReviewed all three files in PR #3550. The production change in Updated for Reviewed by Strix |
4e96ba0 to
ad03a2b
Compare
ad03a2b to
bedd659
Compare
bedd659 to
a4e9a75
Compare
a4e9a75 to
e957aa0
Compare
9277957 to
2762d5a
Compare
2762d5a to
8651884
Compare
713ac42 to
f62d598
Compare
228b081 to
fc6a768
Compare
fc6a768 to
ef9ce8a
Compare
ef9ce8a to
8781cd8
Compare
Add createDiscover using an owned draft's capture or a readable live capture. Validate authorization, connector readiness, and placement before atomically inserting the discover row and scheduling discovery. Preserve serialized definitions and publication preconditions. Cover staged and live capture selection, byte-preserved endpoint configuration, the update_only policy, rejections, data plane selection, capability checks, and the discovery-to-publication workflow.
Assign each line a timestamp at PostgreSQL's microsecond precision, advancing past the writer's previous timestamp even when its clock moves backward. Retain that timestamp across batches so timestamp cursors can resume within and between batches without skipping lines from this writer. Exercise the real writer through the discover log connection, including page boundaries within a batch, across batches, and late writes. Keep a focused unit test for clock recession. Ordering remains local to one writer's lifetime.
8781cd8 to
b3dbc25
Compare
Description:
The log writer gives every line in a batch the same timestamp, so timestamp-based pagination can skip the rest of a batch. Assign each line a timestamp at PostgreSQL's microsecond precision, at least one microsecond beyond the previous line and no earlier than the current clock reading. Retain the previous timestamp across batches and backward clock adjustments.
Deployment:
This PR is stacked on #3545. Deploy this writer fix before or with the discovery API; when landing the stack in order, deploy after both PRs have landed. #3553 has no dependency on this stack.
Validation:
The real-writer pagination regression passes in the API, agent, and models suite and in the combined run with current master and #3553. This commit builds with the offline SQL cache.