Skip to content
Jingyu Zhou edited this page Oct 24, 2021 · 9 revisions

Demo Steps

TOML -> shards (PR #4843)

[configuration] config = 'triple' storageEngineType = 3 processesPerMachine = 3 coordinators = 3 machineCount = 15 splits = "a:b:c"

=> TestConfig => SimulationConfig => DatabaseConfiguration: shards

newSeedServers() add shard info into InitializeStorageRequest

storageServer() adds req.storageTeamId and req.shardInfo

modify storage server by adding req.shardInfo

Demo limitations

  • 1 SS : 1 team (1 TLog group) 1 SS : n teams

  • Recruit SS with teamID, and shard info Team can be dynamically assigned

  • 1 TLog group : 1 or many? TLog

Proxy -> TLog TLogCommitRequest req.reply.send(logData->durableKnownCommittedVersion);

Proxy

Proxy -> master ReportRawCommittedVersionRequest max()