[ISSUE] (TEPHRA-167) Visibility fence

1 view
Skip to first unread message

Poorna Chandra (JIRA)

unread,
Jan 12, 2016, 4:28:23 PM1/12/16
to tephr...@googlegroups.com
Poorna Chandra created an issue
 
Tephra / Improvement TEPHRA-167
Visibility fence
Issue Type: Improvement Improvement
Assignee: Poorna Chandra
Components: core
Created: 12/Jan/16 1:27 PM
Priority: Major Major
Reporter: Poorna Chandra

Visibility Fence is used to make sure a commit is visible to all in-progress readers. After a write is committed, a writer will wait on a Visibility Fence for all in-progress transactions that have not seen the change to see the change.

To optimize the wait, the in-progress transaction list needs to contain only those transactions that were in-progress when the write got committed. However, today the commit time of a transaction is not exposed. Hence, we start a transaction for fence after the write got committed. We use this transaction to get the in-progress list. This list may have transactions that have started between the time write got committed and the fence transaction got started. This leads to waiting, and potentially conflicting with transactions that have already seen the change.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.1.5#6160-sha1:a61a0fc)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages