Re: Potential G2-item cycles under serializable isolation

Поиск
Список
Период
Сортировка
От Kyle Kingsbury
Тема Re: Potential G2-item cycles under serializable isolation
Дата
Msg-id 7b0be27d-129f-fcb9-b3c7-5972d2eec295@jepsen.io
обсуждение исходный текст
Ответ на Re: Potential G2-item cycles under serializable isolation  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-bugs
On 6/4/20 10:03 PM, Peter Geoghegan wrote:
>> Are you familiar with the paper "Serializable Snapshot Isolation in
>> PostgreSQL"? You might find it helpful:
>>
>> http://vldb.org/pvldb/vol5/p1850_danrkports_vldb2012.pdf
It's been several years since I've read it, and it's worth revisiting. Thanks 
for the recommendation! Yes, I think a good way to understand Elle's G2-item is 
that it might be (and I'm not entirely sure about this--this was only a cursory 
read last night) one of the "dangerous structures" in the Postgres SSI paper. I 
elided this earlier to try and keep things simple, but we actually separate out 
cycles featuring *nonadjacent* rw edges and consider them a separate sort of 
anomaly in Elle, so we can distinguish between snapshot isolation and 
serializability more precisely.
>> Is there a difference between "rw dependencies" as you understand the
>> term, and what the paper calls "rw-antidependencies"?
Yes, my apologies. "anti-dependency" = "rw-antidependency" = "rw dependency" = 
"T1 read state x1, and T2 installed state x2, such that x1 immediately precedes 
x2".
>> "3.2 Serializability Theory" has some stuff about Adya et al, but also
>> talks about the work of Fekete et al -- apparently they built on the
>> Adya paper (both papers share one author). Are you familiar with the
>> Fekete paper?

Yes! Some of Elle's inferences are based in part on Fekete et al.'s work, and 
we've corresponded some during Elle's development. :)

---Kyle




В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16481: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16482: Input as table type to function is getting failed