| От | Oliver Jowett |
|---|---|
| Тема | Re: 2PC transaction id |
| Дата | |
| Msg-id | 42C4BF0B.3000002@opencloud.com обсуждение исходный текст |
| Ответ на | Re: 2PC transaction id (Oliver Jowett <oliver@opencloud.com>) |
| Список | pgsql-hackers |
Oliver Jowett wrote: > Tom Lane wrote: > >>It's the TM's responsibility to deal with that. I would expect it to >>hand out transaction IDs that consist of a common prefix and a >>per-database suffix, if it does not know which resources it's dealing >>with might share a common GID namespace. > I don't know if we can reasonably expect TMs not to hand out an > identical XID to different RMs in the same global transaction. Hm, I suppose we *can* assume that a TM won't hand out the same XID to the same RM twice (except for the special case of TMJOIN), so we could append a per-database suffix in the RM itself (e.g. JDBC driver) to avoid conflicts within a database cluster. -O
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера