cockroachdb / cockroachdb/docs

Clarify replica access for AS OF SYSTEM TIME

Open
#6,753 2 comments 0 reactions 1 assignee Claimed by @rmloveland View on GitHub
C-doc-improvement O-sales-eng P-1 T-missing-info
Dominant language
HTML
Stars
212
Forks
476
Avg merge
40m
Merged PRs (30d)
3

Description

Jesse Seldess commented:

Our docs on [follower reads](https://www.cockroachlabs.com/docs/v19.2/follower-reads.html) (also the [topology page](https://www.cockroachlabs.com/docs/v19.2/topology-follower-reads.html)) explain how AS OF SYSTEM TIME leverages **follower** replicas to return reads faster. However, we don't explain how [AS OF SYSTEM](https://www.cockroachlabs.com/docs/v19.2/as-of-system-time.html) time works when there's no enterprise license or when there is a license but the interval is not far enough in the past to qualify for a follower read.

In both cases, the read accesses the leaseholder replica, not a follower replica. This adds network latency if the leaseholder is not the closest replica to the gateway node.

Jira Issue: DOC-452

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.