CPC G06F 16/2329 (2019.01) [G06F 11/2035 (2013.01); G06F 11/2094 (2013.01); G06F 11/2097 (2013.01); G06F 16/2322 (2019.01); G06F 16/2379 (2019.01); G06F 16/248 (2019.01); G06F 16/2471 (2019.01); G06F 16/27 (2019.01); H04L 67/1095 (2013.01); G06F 11/1658 (2013.01); G06F 11/2048 (2013.01); G06F 2201/80 (2013.01)] | 40 Claims |
1. A computing system comprising:
at least one hardware processor;
at least one memory coupled to the at least one hardware processor; and
one or more computer-readable storage media storing computer-executable instructions that, when executed, cause the computing system to perform operations comprising:
at a node of a database system comprising a plurality of nodes, the plurality of nodes comprising at least one source node and at least one replica node, receiving a prepared statement from a database client, the prepared statement specifying one or more nodes of the database system useable to execute the prepared statement;
at the node, updating the prepared statement to provide an updated prepared statement, the updating comprising adding a node to the one or more nodes in the prepared statement, or removing at least one of the one or more nodes in the prepared statement, depending on a type of availability status change of the replica node, wherein the type of availability status change of the replica node is (1) the replica node becoming unavailable and the updating the prepared statement comprises not including the replica node in the updated prepared statement; or (2) the replica node becoming available and the updating the prepared statement comprises including the replica node in the updated prepared statement; and
at the node, sending the updated prepared statement to the database client.
|