1. A computer implemented method for retaining and reclaiming resource locks comprising: identifying a group of servers managing shared resources and comprising a first server and a plurality of remaining servers; identifying a broadcast channel that connects servers in the group of servers with one another; identifying a first set of information stored in a first copy of a same data structure on the first server and a plurality of a second sets of information stored in a plurality of second copies of the same data structure respectively stored on the plurality of remaining servers, the same data structure comprising information about states and resource locks that pertain to the shared resources and are acquired by respective clients in communication with the group of servers; maintaining the same data structure on at least the first server and the plurality of remaining servers at least by: the first server broadcasting first updates in the first set of information to the plurality of remaining servers while receiving second updates in the plurality of second sets of information from the plurality of remaining servers and storing the second updates into the first copy of the same data structure on the first server, via the broadcast channel connecting the group of servers with each other; and the plurality of remaining servers respectively broadcasting the second updates to each other and to the first server while respectively receiving the first updates from the first server and at least some second updates from one or more remaining servers of the plurality of remaining servers and storing the first updates and the at least some second updates into respective second copies of the same data structure on the plurality of remaining servers, via the broadcast channel; detecting a failure affecting a connection between the first server and a database corresponding to a client while one or more operations for the client continue operating on the database after the failure has occurred; identifying one or more changes in one or more existing resource locks for the client caused by an execution of the one or more operations after the failure has occurred and before a new connection is established for the client; establishing a new connection or a new session between a remaining server of the plurality of remaining servers and the database corresponding to the client at least by creating the new connection or the new session at the remaining server using a second copy of the same data structure on the remaining server, rather than relying on the client to establish the new connection or the new session; and updating a second set of information in the second copy to include description of the new connection or the new session as well as information pertaining to the one or more changes after the failure of the connection.