Provisional authority in a distributed database
First Claim
1. A method of writing data in a distributed database system having a plurality of members and a master, comprising:
- 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, wherein the DHCP database includes Dynamic Host Control Protocol (DHCP) related data, and wherein the write request includes associating a first IP address allocated using 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;
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 determining whether the propagated write request is associated with 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.
6 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.
-
Citations
22 Claims
-
1. A method of writing data in a distributed database system having a plurality of members and a master, comprising:
-
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, wherein the DHCP database includes Dynamic Host Control Protocol (DHCP) related data, and wherein the write request includes associating a first IP address allocated using 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; 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 determining whether the propagated write request is associated with 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. 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, wherein the DHCP database includes Dynamic Host Control Protocol (DHCP) related data, and wherein the write request includes associating a first IP address allocated using DHCP with a first device on a first network; apply 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 a master; 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 determining whether the propagated write request is associated with 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, send 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 (9, 10, 11, 12, 13, 14, 15)
-
-
16. A system having a plurality of members and a master, the system comprising a memory coupled with a processor, wherein the memory provides the processor with instructions configured 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, wherein the DHCP database includes Dynamic Host Control Protocol (DHCP) related data, and wherein the write request includes associating a first IP address allocated using DHCP with a first device on a first network; apply 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; 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 determining whether the propagated write request is associated with 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, send 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 (17, 18, 19, 20, 21, 22)
-
Specification