Re: Fix bugs not to discard statistics when changing stats_fetch_consistency

2024-02-01 Thread Shinya Kato
On 2024-02-01 17:33, Michael Paquier wrote: On Thu, Jan 11, 2024 at 06:18:38PM +0900, Shinya Kato wrote: Hi, hackers (Sorry for the delay, this thread was on my TODO list for some time.) There is below description in docs for stats_fetch_consistency. "Changing this parameter in a transaction

Re: Fix bugs not to discard statistics when changing stats_fetch_consistency

2024-02-01 Thread Michael Paquier
On Thu, Jan 11, 2024 at 06:18:38PM +0900, Shinya Kato wrote: > Hi, hackers (Sorry for the delay, this thread was on my TODO list for some time.) > There is below description in docs for stats_fetch_consistency. > "Changing this parameter in a transaction discards the statistics snapshot." > > Ho

Fix bugs not to discard statistics when changing stats_fetch_consistency

2024-01-11 Thread Shinya Kato
Hi, hackers There is below description in docs for stats_fetch_consistency. "Changing this parameter in a transaction discards the statistics snapshot." However, I wonder if changes stats_fetch_consistency in a transaction, statistics is not discarded in some cases. Example: -- * session 1