US 12,079,203 B2
Real-time data validation using lagging replica databases
Nathan Dye, Seattle, WA (US); Jacob Adam Gabrielson, Seattle, WA (US); and Brian L Barker, Brier, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Apr. 8, 2022, as Appl. No. 17/716,960.
Application 17/716,960 is a continuation of application No. 16/836,025, filed on Mar. 31, 2020, granted, now 11,301,462.
Prior Publication US 2022/0229829 A1, Jul. 21, 2022
Int. Cl. G06F 16/20 (2019.01); G06F 16/23 (2019.01); G06F 16/27 (2019.01)
CPC G06F 16/2379 (2019.01) [G06F 16/2365 (2019.01); G06F 16/27 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
one or more hardware processors with associated memory, wherein the memory stores instructions executable by the one or more hardware processors to:
receive, via a configuration interface, configuration information for a replication process in a database system that replicates a log of updates performed on a database to a replica of the database, wherein the configuration information specifies to perform a data validation check for one or more types of data validation failures during the replication process;
configure the replication process according to the configuration information received via the configuration interface, wherein the configuration injects a delay period into the replication process, wherein the delay period is determined based at least in part on the data validation check specified by the configuration information so that the delay period is sufficiently long to perform the data validation check;
during execution of the replication process:
check individual updates in the log within the delay period for the one or more types of data validation failures; and
responsive to detection of a data validation failure of an update based on the checking, stop the update from being replicated to the replica.