Patent attributes
Methods, systems, and computer-readable media for eventually consistent replication in a time-series database are disclosed. Time-series data is stored in a plurality of replicas of a replica group. The time-series data is within spatial and temporal boundaries of the replica group. The replicas store a server-side version number of replica group metadata. A query processor sends a query request to a first replica of the replica group. The query request comprises a query-client-side version number of the replica group metadata. The first replica performs a comparison of the query-client-side version number to the server-side version number. The first replica generates a successful response to the query request or denies the query request based at least in part on the comparison, where the successful response comprises one or more elements of the time-series data.