Make use FullTransactionId in 2PC filenames
authorAlexander Korotkov <[email protected]>
Tue, 28 Nov 2023 23:43:13 +0000 (01:43 +0200)
committerAlexander Korotkov <[email protected]>
Tue, 28 Nov 2023 23:43:36 +0000 (01:43 +0200)
commit5a1dfde8334b25e19bf4b3aa75274c547a3aa30f
treeb638f9c86634334b4128337408d7395bfe4bd93d
parent2cdf131c46e631addfc386f6106e52a1b8cc3a70
Make use FullTransactionId in 2PC filenames

Switch from using TransactionId to FullTransactionId in naming of 2PC files.
Transaction state file in the pg_twophase directory now have extra 8 bytes in
the name to address an epoch of a given xid.

Author: Maxim Orlov, Aleksander Alekseev, Alexander Korotkov, Teodor Sigaev
Author: Nikita Glukhov, Pavel Borisov, Yura Sokolov
Reviewed-by: Jacob Champion, Heikki Linnakangas, Alexander Korotkov
Reviewed-by: Japin Li, Pavel Borisov, Tom Lane, Peter Eisentraut, Andres Freund
Reviewed-by: Andrey Borodin, Dilip Kumar, Aleksander Alekseev
Discussion: https://postgr.es/m/CACG%3DezZe1NQSCnfHOr78AtAZxJZeCvxrts0ygrxYwe%3DpyyjVWA%40mail.gmail.com
Discussion: https://postgr.es/m/CAJ7c6TPDOYBYrnCAeyndkBktO0WG2xSdYduTF0nxq%2BvfkmTF5Q%40mail.gmail.com
src/backend/access/transam/twophase.c