apple / apple/foundationdb

DataDistribution status idea indicating what moves each process is involved with or helping with

Open
#6,679 0 comments 0 reactions 1 assignee Claimed by @sfc-gh-xwang View on GitHub
data distribution
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

I'm thinking it would be useful to be able to get from DataDistribution a list of

`ProcessAddress NumShardsMovingOut NumShardsMovingIn NumShardMovesServed`

where for each shard being relocated and for each process of each team involved

- if the process is on only the team the shard is moving FROM then +1 is contributed to NumShardsMovingOut
- if the process is on only the team the shard is moving TO then +1 is contributed to NumShardsMovingIn
- if the process is on both the source and dest teams then +1 is contributed to NumShardMovesServed

This list could be provided in `status json` and/or periodically logged to TraceEvents, one event per ProcessAddress having any non-zero counts.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.