You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(posting): strip debug fmt.Println from hot paths
Removes the unconditional debug prints scattered through posting/
during the original WIP work — they fired on every read, mutation,
rollup, and commit. None of them were guarded by a verbosity flag,
so under load they would have produced megabytes of stdout noise
per second.
Sites stripped:
- posting/lists.go: READING / READING SINGLE / GETTING KEY FROM DELTAS
- posting/index.go: TOKENS, LOCAL MAP, INSERTING INDEX, UPDATE INDEX,
ERRORRRING, "Inserting tokenizer indexes ... took"
- posting/mvcc.go: COMMITTING (and unused fmt import)
- posting/list.go: "Buidlding committed uids", "Setting mutation",
PrintRollup helper (called once internally, never elsewhere)
Left in place: printTreeStats() in index.go, which is already
gated by the DEBUG_SHOW_HNSW_TREE env var and is an intentional
opt-in HNSW debug helper.
No behavior change.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments