apple / apple/foundationdb

Region aware storage version lag

Open
#2,716 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Status currently computes version lag by subtracting its version from the log's version that is sent to it when peeking mutations. Because one potential source of lag is that the storage server is failing to peek mutations, we also separately compute the lag by subtracting the storage version from the largest log version and take the larger of the two computed lags.

Because the second lag is computed without regard for where the logs are located in multi-region configurations, this can lead to overreporting of lag on the storage servers.

Contributor guide

Open the contributing guide

Research direction

Start at the Status code that computes version lag while peeking mutations, then trace how the largest log version is selected in multi-region configurations. Done means storage-server lag is not overreported when logs are located in other regions, while still accounting for failures to peek mutations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.