model-writtenrun 7021 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zhijie Hou (Fujitsu) opened the thread with #1 after Nisha Moond reported off-list that subscriptions without tables unnecessarily retained dead tuples; his patch let AllTablesyncsReady() treat an empty subscription as ready when explicitly requested.
- shveta malik and Nisha Moond verified the original fix in #2 and #5, while Dilip Kumar identified an outdated comment in #3 and Steven Niu corrected a typo in #4.
- Amit Kapila questioned contradictory concurrency comments and requested a separate empty-subscription API in #6; Hou adopted HasSubscriptionRelationsCached() in #7 and added a second patch to wake the launcher immediately when creating a disabled subscription with dead-tuple retention enabled.
- Amit accepted the new API but challenged the retention rationale and requested a regression test in #8; Hou responded in #9 by explaining invalidation timing and concurrent table removal, adding the test, and merging the two related fixes.
- The thread ends with the combined patch submitted in #9, without a subsequent acceptance message; Amit later committed its five file diffs unchanged in 1f7e9ba3ac, together with the prepared-transaction retention fix from #599818 in thread #50234, completing both fixes proposed here.