Dynamic membership management in a distributed system
First Claim
1. A method for dynamically managing persistent membership of a coordination group in a distributed environment, the coordination group including a number of sites included in a persistent membership, with one or more of the site including a database and a registrar, the method comprising:
- receiving, by a registrar of a first site that is a member of the persistent membership, a Membership Request including a server ID and a name for an entrant seeking to become a member of the persistent membership;
sending, by the registrar of the first site, a Membership Change message to other sites in the coordination group;
receiving, by the registrar of the first site, the Membership Change message in total persisted order;
proceeding, by the registrar of the first site, with initializing the entrant database in response to the persistent membership being changed;
modifying, by the registrar of the first site, the persistent membership for the entrant;
responsive to the registrar receiving the Membership Request, disconnecting the registrar of the first site from the coordination group and inhibiting, by a distributed lock manager, updates to a first database, while cotemporaneous to the inhibition of the updates (1) the registrar of the first site is initializing an entrant database for the entrant and (2) other sites of the coordination group update at least one database in the coordination group; and
reconnecting, by the registrar of the first site, to the coordination group after initialization of the entrant database.
4 Assignments
0 Petitions
Accused Products
Abstract
Transactional database replication techniques are disclosed that do not require altering of the database management system implementation. A replicator module includes a dynamic membership manager, which is configured to manage the persistent membership of a coordination group. The persistent membership can be, for example, a durable set of sites that can replicate changes amongst themselves. Changes from sites not in the persistent membership are discarded. The set of recovered members is a subset of the persistent membership. The persistent membership changes incrementally by either removing or adding members. Failed members may still be part of the persistent membership. The dynamic membership manager module manages the modification of the persistent membership, initialization of replicas, and propagation of membership information.
6 Citations
18 Claims
-
1. A method for dynamically managing persistent membership of a coordination group in a distributed environment, the coordination group including a number of sites included in a persistent membership, with one or more of the site including a database and a registrar, the method comprising:
-
receiving, by a registrar of a first site that is a member of the persistent membership, a Membership Request including a server ID and a name for an entrant seeking to become a member of the persistent membership; sending, by the registrar of the first site, a Membership Change message to other sites in the coordination group; receiving, by the registrar of the first site, the Membership Change message in total persisted order; proceeding, by the registrar of the first site, with initializing the entrant database in response to the persistent membership being changed; modifying, by the registrar of the first site, the persistent membership for the entrant; responsive to the registrar receiving the Membership Request, disconnecting the registrar of the first site from the coordination group and inhibiting, by a distributed lock manager, updates to a first database, while cotemporaneous to the inhibition of the updates (1) the registrar of the first site is initializing an entrant database for the entrant and (2) other sites of the coordination group update at least one database in the coordination group; and reconnecting, by the registrar of the first site, to the coordination group after initialization of the entrant database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A machine-readable medium encoded with instructions, that when executed by one or more processors, cause the processor to carry out a process for dynamically managing persistent membership of a coordination group in a distributed environment, the coordination group including a number of sites included in a persistent membership, with one or more of the sites including a database and a registrar, the process comprising:
-
receiving, by a registrar of a first site that is a member of the persistent membership, a Membership Request including a server ID and a name for an entrant seeking to become a member of the persistent membership; sending, by the registrar of the first site, a Membership Change message to other sites in the coordination group; receiving, by the registrar of the first site, the Membership Change message in total persisted order; proceeding, by the registrar of the first site, with initializing the entrant database in response to the persistent membership being changed; modifying, by the registrar of the first site, the persistent membership for the entrant; responsive to the registrar receiving the Membership Request, disconnecting the registrar of the first site from the coordination group and inhibiting, by a distributed lock manager, updates to a first database while cotemporaneous to the inhibition of the updates (1) the registrar of the first site is initializing an entrant database for the entrant and (2) other sites of the coordination group are able to update at least one database in the coordination group; and reconnecting, by the registrar of the first site, to the coordination group after initialization of the entrant database. - View Dependent Claims (16, 17, 18)
-
Specification