home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!dhepner
- From: dhepner@cup.hp.com (Dan Hepner)
- Subject: Re: distributed transactions
- Sender: news@cupnews0.cup.hp.com
- Message-ID: <BtCrA6.Iuy@cup.hp.com>
- Date: Fri, 21 Aug 1992 21:20:30 GMT
- References: <1736k9INNjhh@agate.berkeley.edu>
- Organization: Hewlett-Packard
- X-Newsreader: Tin 1.1scd1 PL4
- Lines: 32
-
- From: mao@triplerock.CS.Berkeley.EDU (Mike Olson)
-
- >> > If a non-blocking commit protocol is used, any transaction started at
- >> > a remote site which went down can be aborted, releasing its locks, and
- >> > leaving the database in a transaction-consistent state.
- >>
- >> Could you site some references or examples for this statement?
-
- >the basic strategy is to add phases to the 2-phase protocol and to use
- >message broadcast, so every site sees every message. see
-
- Maybe you can explain how this apparent dilemma is addressed:
-
- Time 1: node n acknowledges prepare
- Time 2: node n notes an inability to communicate with anyone else, in
- particular any site capable of being the transaction coordinator
- Time 3: still no communications, patience exhausted at node n
-
- Non-blocking protocols seem all to substitute some other problem for
- the blocking problem. Commonly, the above dilemma is addressed by
- defining it away, declining to acknowledge that a node might lose all
- communication. Other writers have imagined it valuable to describe
- protocols which did not block, but were not guaranteed to get the
- right answer either.
-
- On the other hand, the rarity of actual blockage makes extreme concern
- not warranted for most real world systems. The coordinator must go
- away at precisely the right time, _and then never return_. Surely some
- way needs to be offered to resolve the tie-up, but this issue does
- not justify a fundamental complaint against distributed transactions.
-
- Dan Hepner
-