increased the priority of getKeyServersLocations, because once a client gets a read version, answering their reads should be higher priority than starting new transactions

This commit is contained in:
Evan Tschannen 2018-01-12 13:46:20 -08:00
parent 3915d6825c
commit 660cee0254
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ struct MasterProxyInterface {
getConsistentReadVersion.getEndpoint(TaskProxyGetConsistentReadVersion);
getRawCommittedVersion.getEndpoint(TaskProxyGetRawCommittedVersion);
commit.getEndpoint(TaskProxyCommit);
getKeyServersLocations.getEndpoint(TaskProxyGetKeyServersLocations);
}
};

View File

@ -53,6 +53,7 @@ enum {
TaskProxyCommit = 8540,
TaskTLogConfirmRunningReply = 8530,
TaskTLogConfirmRunning = 8520,
TaskProxyGetKeyServersLocations = 8515,
TaskProxyGRVTimer = 8510,
TaskProxyGetConsistentReadVersion = 8500,
TaskDefaultPromiseEndpoint = 8000,