> > I'm basically fine, too. But this is a bug that needs back-patching > > back to 10. > > > > I have not verified but I think we need to backpatch this till 14 > because prior to that in DecodeCommit, we use to set the top-level txn > as having catalog changes based on the if there are invalidation > messages in the commit record. So, in the current scenario shared by > Osumi-San, before SnapBuildCommitTxn(), the top-level txn will be > marked as having catalog changes.
I and Osumi-san are now investigating that, so please wait further reports and patches. > > This change changes the condition for the DEBUG2 message. > > So we need to add an awkward if() condition for the DEBUG2 message. > > Looking that the messages have different debug-level, I doubt there > > have been a chance they are useful. If we remove the two DEBUGx > > messages, I'm fine with the change. > > > > I think these DEBUG2 messages could be useful, so instead of removing > these, I suggest we should follow Dilip's proposed fix and maybe add a > new DEBUG2 message on the lines of (("forced transaction %u to do > timetravel due to one of its subtransaction", xid) in the else if > (sub_needs_timetravel) condition if we think that will be useful too > but I am fine leaving the addition of new DEBUG2 message. I agreed both that DEBUG2 messages are still useful but we should not change the condition for output. So I prefer the idea suggested by Amit. Best Regards, Hayato Kuroda FUJITSU LIMITED