model-writtenrun 4861 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Dec 2022 - Jan 2023 ยท 13 entries
- Shi yu opened the thread with #1, proposing a developer GUC that streams each change without reaching the 64 kB minimum logical_decoding_work_mem threshold, making streaming and parallel-apply tests smaller and faster.
- Amit Kapila proposed extending the control to publisher serialization and subscriber testing in #2, while Peter Smith and Masahiko Sawada favored separating controls to preserve flexibility and session-level configuration in #4 and #6.
- Dilip Kumar identified that the initial loop could force serialization as well as streaming and requested a test in #12; Shi yu responded with #17, separating the loops, adding a TRUNCATE test, and incorporating Peter Smith's corrections from #5.
- Dilip reconsidered the separation in #19, arguing that it introduced behavior unlike normal decoding, and Hayato Kuroda proposed an immediate mode that preserves the existing choice between streaming and serialization in #22.
- The discussion considered allowing logical_decoding_work_mem to reach zero, but Shveta Malik and Masahiko Sawada warned about exposing a production setting that could cause severe overhead in #25 and #26; Kuroda withdrew that alternative in #30, and Shi yu implemented the separate logical_decoding_mode enum in #31.
- Sawada approved the new approach with formatting comments in #33, and Amit supplied #34 with those corrections and clearer documentation, recommending conversion of existing streaming tests to demonstrate the benefit.
- Kuroda reported that an empty-string default produced an unclear error hint in #36, and Kyotaro Horiguchi requested an explicit default and clearer streaming-option documentation in #37; the group adopted his buffered name from #39.
- Shi yu posted #43 with the naming changes and a separate patch shrinking five subscription TAP tests, reporting savings of about 5.3 seconds in debug builds and 1.8 seconds in release builds while deliberately retaining some ordinary memory-threshold tests.
- Kuroda independently measured performance gains and reviewed comments and typedef registration in #47, then reported largely unchanged coverage in #51; Amit rejected unnecessary transaction-selection changes in #49 and requested retaining 022_twophase_cascade.pl to preserve snapshot-transfer coverage in #50.
- Shi yu consolidated the series in #53, removing the added test_decoding case and cascade-test conversion while retaining four TAP conversions; Kuroda confirmed passing tests in #54, Shveta reported repeated timing improvements in #55, and Sawada, Amit, and Dilip approved it in #56, #57, and #58.
- Amit committed #53 with an identical code diff as 5de94a041e and announced the push in #59.
- After the commit, Andres Freund questioned using a GUC instead of a decoding option in #60; Amit explained in #61 that TAP tests would otherwise need a subscription option exposing a testing-only behavior with potential performance costs.
- The thread ended with Shi yu explaining in #63 that further test_decoding conversions would alter the intended timing of streaming, spilling, and subtransaction behavior, so those changes were deferred to a possible separate thread and the Commitfest entry would be closed with the submitted feature landed.