Patent ID: 11914572
Assignee: SAP SE
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 35:
36. A method, implemented in a computing system comprising at least one hardware processor and at least one memory coupled to the at least one hardware processor, the method comprising:
at a database system node of a replicated database, determining that an availability status of a replica node of a replicated database environment has changed, wherein the database system node stores at least one database table and the replicated database environment comprises a plurality of database system nodes, including the database system node and the replica node, and in communication with a database client, wherein an availability status change of the replica node is (1) the replica node becoming unavailable; or (2) the replica node becoming available;
at the database system node, recording the availability status change in a data store comprising availability status information for nodes of the replicated database system;
at the database system node, incrementing a metadata identifier;
at the database system node, receiving a prepared statement from the database client, the prepared statement associated with a version timestamp;
at the database system node, comparing the incremented metadata identifier with the version timestamp;
at the database system node, determining that the prepared statement should be updated;
at the database system node, updating the prepared statement using the availability status information of the data store; and
at the database system node, sending the updated prepared statement to the database client.