mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Retain debug id in prefetch server-server call (#7754)
This commit is contained in:
parent
ef6012c1d1
commit
9db19b9a7c
@ -3866,6 +3866,9 @@ ACTOR Future<GetRangeReqAndResultRef> quickGetKeyValues(
|
|||||||
if (SERVER_KNOBS->QUICK_GET_KEY_VALUES_FALLBACK) {
|
if (SERVER_KNOBS->QUICK_GET_KEY_VALUES_FALLBACK) {
|
||||||
state Transaction tr(data->cx, pOriginalReq->tenantInfo.name.castTo<TenantName>());
|
state Transaction tr(data->cx, pOriginalReq->tenantInfo.name.castTo<TenantName>());
|
||||||
tr.setVersion(version);
|
tr.setVersion(version);
|
||||||
|
if (pOriginalReq->debugID.present()) {
|
||||||
|
tr.debugTransaction(pOriginalReq->debugID.get());
|
||||||
|
}
|
||||||
// TODO: is DefaultPromiseEndpoint the best priority for this?
|
// TODO: is DefaultPromiseEndpoint the best priority for this?
|
||||||
tr.trState->taskID = TaskPriority::DefaultPromiseEndpoint;
|
tr.trState->taskID = TaskPriority::DefaultPromiseEndpoint;
|
||||||
Future<RangeResult> rangeResultFuture =
|
Future<RangeResult> rangeResultFuture =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user