Invention Grant
- Patent Title: Mirrored database upgrade using state machine
- Patent Title (中): 使用状态机镜像数据库升级
-
Application No.: US13371342Application Date: 2012-02-10
-
Publication No.: US08745445B1Publication Date: 2014-06-03
- Inventor: King Lun Choi , Jeffrey Ira Cohen , Caleb E. Welton , Kenneth A. Sell , Milena Bergant
- Applicant: King Lun Choi , Jeffrey Ira Cohen , Caleb E. Welton , Kenneth A. Sell , Milena Bergant
- Applicant Address: US CA Palo Alto
- Assignee: Pivotal Software, Inc.
- Current Assignee: Pivotal Software, Inc.
- Current Assignee Address: US CA Palo Alto
- Agency: Fish & Richardson P.C.
- Main IPC: G06F11/00
- IPC: G06F11/00

Abstract:
A process for upgrading a mirrored shared-nothing database system comprises a sequence of short well-defined idempotent steps, and at least one non-idempotent step involving transforming a master catalog. The upgrade process is managed and controlled by a state machine that has a persistent memory running on the master node. In the event of a failure or crash during an idempotent step, the process stops the database in the current state and repeats the step. If a failure or crash occurs during a non-idempotent step, the upgrade process is rolled back to the beginning and repeated.
Information query