CPC G06F 16/2255 (2019.01) [G06F 12/0802 (2013.01); G06F 16/1734 (2019.01); G06F 16/1865 (2019.01); G06F 16/908 (2019.01); H04L 9/3242 (2013.01); G06F 2212/163 (2013.01)] | 16 Claims |
1. A method, comprising:
processing, by a first database node, a set of database transactions involving writing a set of records into an in-memory cache of the first database node, wherein the processing includes inserting keys of the set of records into a stack of filter structures;
receiving, by the first database node and from a second database node, a record request for a first record, wherein the record request includes information that specifies a transaction commit number (XCN) associated with the second database node;
generating, by the first database node, a record response indicating whether the first record is present in the in-memory cache, wherein the generating includes:
incorporating into the record response, from the stack of filter structures, only those filter structures having a respective XCN that is indicative of a time later than the XCN associated with the second database node;
sending, by the first database node and to the second database node, the record response, wherein a given filter structure included in the record response enables the second database node to determine whether to request a second record from the first database node; and
subsequent to a flush XCN of the first database node being indicative of a time later than a first XCN of the given filter structure, the first database node purging the given filter structure from the first database node.
|