首页> 外国专利> Systems and methods for enlisting single phase commit resources in a two phase commit transaction

Systems and methods for enlisting single phase commit resources in a two phase commit transaction

机译:用于在两阶段提交事务中征募单阶段提交资源的系统和方法

摘要

Systems and methods are provided for enlisting single phase commit resources in a two phase commit transaction. An exemplary method includes accessing a global transaction having a plurality of processes requiring single phase commit (1PC) resource and a two phase commit (2PC) resource, initializing a 1PC resource manager for the 1PC resource with a first process of the plurality of processes, wherein the first process requires the 1PC resource, preparing a 2PC resource manager for the 2PC resource with a second process of the plurality of processes, wherein the second process requires the 2PC resource, generating a unique identifier for the 1PC resource, transmitting the unique identifier to the 1PC resource manager, and instructing the 1PC resource manager to commit the first process to the 1PC resource, wherein committing the first process to the 1PC resource comprises recording the unique identifier to the 1PC resource.
机译:提供了用于在两阶段提交事务中登记单阶段提交资源的系统和方法。一种示例性方法包括访问具有多个进程的全局事务,该多个进程需要单阶段提交(1PC)资源和两阶段提交(2PC)资源,并使用多个进程中的第一个进程为该1PC资源初始化一个1PC资源管理器,其中,所述第一进程需要所述1PC资源,并通过所述多个进程中的第二进程为所述2PC资源准备一个2PC资源管理器,其中,所述第二进程需要所述2PC资源,为所述1PC资源生成唯一标识符,并发送所述唯一标识符向第一PC资源管理器发送指令到第一PC资源管理器,并指示第一PC资源管理器将第一进程提交给第一PC资源,其中向第一PC资源提交第一处理包括将唯一标识符记录到第一PC资源。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号