~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

The commands run's pds_log_bytes check fails when the log is compacted mid-step

Closed
Closed chadtmiller.com opened this issue 0 comments

What happened

node compare.mjs --steps 400 --seed 32 --commands failed in the gates of the Release 0.3.0 queue batch (at 8a0127173749, main 4409a5c8bf0a):

step 401 (seed 32): the server's metrics differs: spec/OPERATIONS.md
request: { "metric": "pds_log_bytes", "after": "a createRecord" }
reference: "more than 1514808"
server: 816643

The same run, same seed, passed on main at 4409a5c minutes before, and the release pull changes only version strings, CHANGELOG.md and .changeset/. pds_log_bytes fell rather than grew across the createRecord: a compaction that folded logs between the two reads would do that.

What you expected

The check holds the server to what spec/OPERATIONS.md says of pds_log_bytes, whatever compaction does meanwhile: either the spec says the metric only grows across a write (and the server is wrong), or it may fall when logs fold, and the check reads it so (stricter where it can be, never loosened to pass).

Where

The gates workflow on runner.knotless.dev, Monolith 0.2.0 + the 0.3.0 version bump.