• Keine Ergebnisse gefunden

Database Research Group Department of Computer Sciences

N/A
N/A
Protected

Academic year: 2022

Aktie "Database Research Group Department of Computer Sciences"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Non-Standard Database Systems Nikolaus Augsten

TWO PHASE COMMIT (2PC)

Phase coordinatorCi transaction manager at siteSj

1

<prepare T> log Sj either decides to commit or toabort:

decides to commit prepare T

all log records ofT +

<ready T>

log

Sj holds all locks ofT until end of phase 2

decides to abort

<abort T>

log ready T

abort T

2

if all Sj replyready T: <commit T>

log

else:

(timeout orabort T from at least one site)

<abort T>

log

<commit T>

log

<abort T>

log commit

T

abort T

Database Research Group Department of Computer Sciences

University of Salzburg

1

Referenzen

ÄHNLICHE DOKUMENTE

Download the file Sheet4_exprsimp.hs from the website. This Haskell program parses expressions given by the user and simplifies them. You do not have to understand the other parts

b) We now want to proof a more general property of this program which is not fixed to vn being 3. As the first step towards this goal, prove that the execution of the loop body adds

Exercise Sheet 6: Specification and Verification with Higher-Order Logic (Summer Term 2012)..

b) Download the theory “RQSort.thy” – which stands for refined quicksort – in which you prove the correctness of the efficient quicksort. prove that the efficient version of

c) Optimize your proof by using the custom wphoare method, like done in the splitcorrect lemmas... d) The splitcorrect lemma does not prove that split does not change the content of

In a software project, the classes Person, AgePerson und AgeManager were implemented; their source is given in Figure 1... a) For testing purposes, the following code

Our group designs visual, tangible, and social user interfaces to ubiq- uitous computing systems while following our vision of “blended interaction.” Based on embodi- ment

The data descriptor is a 64-bit animal specified as a variable or stacked operand and is combined with the modifier in D to produce the size and address of the secondary operand..