Provisional authority in a distributed database
First Claim
1. A computer-implemented method of writing data in a self-adaptive distributed database system having a plurality of members and a master, including:
- receiving a write request comprising a set of computer instructions at an originating member, wherein the originating member stores a local copy of a Dynamic Host Control Protocol (DHCP) database, and wherein the write request includes associating a first IP address allocated using Dynamic Host Control Protocol (DHCP) with a first device on a first network;
applying the received write request comprising the set of computer instructions to a version of a database on the originating member for provisionally writing data in the version of the database on the originating member and placing the received write request comprising the set of computer instructions in a journal queue of items for propagating to the master, wherein the applying the write request to the version of the database on the originating member and the placing the write request in the journal queue of items for propagating to the master are performed within a same single atomic transaction;
propagating the write request to the master, wherein the master stores a master copy of the DHCP database;
determining, using a processor, whether the propagated write request is associated with a conflict, wherein the conflict includes determining that the first IP address is associated with both the first device and a second device on the first network thereby resulting in an IP address allocation conflict on the first network; and
in an event it is determined that the propagated write request is associated with the conflict, sending to the originating member an indication that the write request is associated with the conflict, wherein a router uses network address translation (NAT) to map a second IP address to the first IP address for routing communications to the first device so that the first device does not need to obtain a new IP address allocation using the DHCP until the first device renews a DHCP lease.
8 Assignments
0 Petitions
Accused Products
Abstract
Techniques for writing data in a distributed database system having a plurality of members and a master are disclosed. In one embodiment, a write request is received at an originating member. The write request is applied to a version of a database on the originating member and is placed in a journal queue of items for propagating to the master in one single atomic action. The write request is propagated to the master. Whether the propagated write request is associated with a conflict is determined, and in an event it is determined that the propagated write request is associated with the conflict, an indication that the write request is associated with the conflict is sent to the originating member.
31 Citations
25 Claims
-
1. A computer-implemented method of writing data in a self-adaptive distributed database system having a plurality of members and a master, including:
-
receiving a write request comprising a set of computer instructions at an originating member, wherein the originating member stores a local copy of a Dynamic Host Control Protocol (DHCP) database, and wherein the write request includes associating a first IP address allocated using Dynamic Host Control Protocol (DHCP) with a first device on a first network; applying the received write request comprising the set of computer instructions to a version of a database on the originating member for provisionally writing data in the version of the database on the originating member and placing the received write request comprising the set of computer instructions in a journal queue of items for propagating to the master, wherein the applying the write request to the version of the database on the originating member and the placing the write request in the journal queue of items for propagating to the master are performed within a same single atomic transaction; propagating the write request to the master, wherein the master stores a master copy of the DHCP database; determining, using a processor, whether the propagated write request is associated with a conflict, wherein the conflict includes determining that the first IP address is associated with both the first device and a second device on the first network thereby resulting in an IP address allocation conflict on the first network; and in an event it is determined that the propagated write request is associated with the conflict, sending to the originating member an indication that the write request is associated with the conflict, wherein a router uses network address translation (NAT) to map a second IP address to the first IP address for routing communications to the first device so that the first device does not need to obtain a new IP address allocation using the DHCP until the first device renews a DHCP lease. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product embodied in a non-transitory computer readable storage medium and comprising computer instructions, which, when executed, cause a computer to:
-
receive a write request comprising a set of computer instructions at an originating member, wherein the originating member stores a local copy of a Dynamic Host Control Protocol (DHCP) database, and wherein the write request includes associating a first IP address allocated using Dynamic Host Control Protocol (DHCP) with a first device on a first network; apply the write request comprising the set of computer instructions to a version of a database on the originating member for provisionally writing data in the version of the database on the originating member and place the write request in a journal queue of items for propagating to a master, wherein the applying the received write request to the version of the database on the originating member and the placing the received write request comprising the set of computer instructions in the journal queue of items for propagating to the master are performed within a same single atomic transaction; propagate the write request to the master, wherein the master stores a master copy of the DHCP database; determine whether the propagated write request is associated with a conflict, wherein the conflict includes determining that the first IP address is associated with both the first device and a second device on the first network thereby resulting in an IP address allocation conflict on the first network; and in an event it is determined that the propagated write request is associated with the conflict, sending to the originating member an indication that the write request is associated with the conflict, wherein a router uses network address translation (NAT) to map a second IP address to the first IP address for routing communications to the first device so that the first device does not need to obtain a new IP address allocation using the DHCP until the first device renews a DHCP lease. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A system having a plurality of members and a master, including a memory coupled with a processor, wherein the memory provides the processor with instructions configured to perform steps of:
-
receiving a write request comprising a set of computer instructions at an originating member, wherein the originating member stores a local copy of a Dynamic Host Control Protocol (DHCP) database, and wherein the write request includes associating a first IP address allocated using Dynamic Host Control Protocol (DHCP) with a first device on a first network; applying the received write request comprising the set of computer instructions to a version of a database on the originating member for provisionally writing data in the version of the database on the originating member and placing the write request in a journal queue of items for propagating to the master, wherein the applying the received write request comprising the set of computer instructions to the version of the database on the originating member and the placing the write request in the journal queue of items for propagating to the master are performed within a same single atomic transaction; propagating the write request to the master, wherein the master stores a master copy of the DHCP database; determining at the master whether the propagated write request is associated with a conflict, wherein the conflict includes determining that the first IP address is associated with both the first device and a second device on the first network thereby resulting in an IP address allocation conflict on the first network; and in an event it is determined that the propagated write request is associated with the conflict, sending to the originating member an indication that the write request is associated with the conflict, wherein a router uses network address translation (NAT) to map a second IP address to the first IP address for routing communications to the first device so that the first device does not need to obtain a new IP address allocation using the DHCP until the first device renews a DHCP lease. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25)
-
Specification