- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter 19 Distributed Databases.ppt
Distributed Transactions and 2 Phase Commit Handling of Failures- Coordinator Failure If coordinator fails while the commit protocol for T is executing then participating sites must decide on T’s fate: If an active site contains a commit T record in its log, then T must be committed. If an active site contains an abort T record in its log, then T must be aborted. If some active participating site does not contain a ready T record in its log, then the failed coordinator Ci cannot have decided to commit T. Can therefore abort T; however, such a site must reject any subsequent prepare T message from Ci If none of the above cases holds, then all active sites must have a ready T record in their logs, but no additional control records (such as abort T of commit T). In this case active sites must wait for Ci to recover, to find decision. Blocking problem: active sites may have to wait for failed coordinator to recover. Implementation of Persistent Messaging Sending site protocol. When a transaction wishes to send a persistent message, it writes a record containing the message in a special relation messages_to_send; the message is given a unique message identifier. A message delivery process monitors the relation, and when a new message is found, it sends the message to its destination. The message delivery process deletes a message from the relation only after it receives an acknowledgment from the destination site. If it receives no acknowledgement from the destination site, after some time it sends the message again. It repeats this until an acknowledgment is received. If after some period of time, that the message is undeliverable, exception handling code provided by the application is invoked to deal with the failure. Writing the message to a relation and processing it only after the transaction commits ensures that the message will be delivered if and only if the transaction commits. Implementation of Persistent Messaging (Cont.) Receiving site protocol. W
您可能关注的文档
- ANAB AQMS Accreditation Programs2005.ppt
- Analog to Digital Converters.ppt
- Analytical Techniques.ppt
- Analyzing Browse Patterns of Mobile Clients.ppt
- ANALYZING THE BUSINESS LANDSCAPE.ppt
- Android底层开发.ppt
- Andy---The Android.ppt
- Antarctic History.ppt
- Anti-Anginal Agents.ppt
- Antibodies Structure And Function.ppt
- Chapter 19 Higher mental functions.ppt
- Chapter 19 Intelligent Agents and Creativity.ppt
- Chapter 19 Issues in International Accounting.ppt
- CHAPTER 19 Narcotic Analgesics.ppt
- Chapter 19 The Elbow, Forearm, Wrist and Hand.ppt
- Chapter 19 Vibrations and Waves.ppt
- Chapter 19, part 1.ppt
- Chapter 19.ppt
- Chapter 19Consumer Choice.ppt
- Chapter 19Designing AccurateData-Entry Procedures.ppt
最近下载
- 设备管理软件:IBM Maximo二次开发_(2).IBMMaximo安装与配置.docx VIP
- 医院感染管理办法试题及答案.docx VIP
- 设备管理软件:IBM Maximo二次开发_(4).IBMMaximo数据库管理.docx VIP
- 工程物资供应措施.docx VIP
- 第三章:寻找新闻线索.ppt VIP
- 人教版PEP英语六年级上册Unit 1 How can I get there教案.pdf VIP
- 2025年公安局招聘警务辅助人员考试试卷[附答案].docx
- TCEEIA 558:2021工业机器人可靠性测试与评定.pdf VIP
- 职场数字素养与技能提升培训课件.pptx VIP
- SYT7415-2018 油气集输管道内衬用聚烯烃管.pdf VIP
文档评论(0)