aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/operation.cpp
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2024-10-28 20:34:11 +0000
committerAlexander Smirnov <alex@ydb.tech>2024-10-28 20:34:11 +0000
commitef9875b11a33dbd25e92bc6b4cf692c18c9ba0ce (patch)
tree1f2fd4e4d9e585da35937b42fbda5f854af04728 /yt/cpp/mapreduce/client/operation.cpp
parent37ae9cc90160b53eb0e22021c47b3996a01cd656 (diff)
parente3c8507a3d1cb090278f211232ddfde3bedc54d4 (diff)
downloadydb-ef9875b11a33dbd25e92bc6b4cf692c18c9ba0ce.tar.gz
Merge branch 'rightlib' into mergelibs-241028-2033
Diffstat (limited to 'yt/cpp/mapreduce/client/operation.cpp')
-rw-r--r--yt/cpp/mapreduce/client/operation.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/yt/cpp/mapreduce/client/operation.cpp b/yt/cpp/mapreduce/client/operation.cpp
index a0d857d553..c94d54d56e 100644
--- a/yt/cpp/mapreduce/client/operation.cpp
+++ b/yt/cpp/mapreduce/client/operation.cpp
@@ -558,7 +558,7 @@ EOperationBriefState CheckOperation(
.Add(EOperationAttribute::Result)));
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(operationId).Data());
+ GetGuidAsString(operationId).data());
if (*attributes.BriefState == EOperationBriefState::Completed) {
return EOperationBriefState::Completed;
} else if (*attributes.BriefState == EOperationBriefState::Aborted || *attributes.BriefState == EOperationBriefState::Failed) {
@@ -2271,7 +2271,7 @@ public:
}
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(OperationImpl_->GetId()).Data());
+ GetGuidAsString(OperationImpl_->GetId()).data());
if (*attributes.BriefState != EOperationBriefState::InProgress) {
OperationImpl_->AsyncFinishOperation(attributes);
return PollBreak;
@@ -2440,7 +2440,7 @@ EOperationBriefState TOperation::TOperationImpl::GetBriefState()
UpdateAttributesAndCall(false, [&] (const TOperationAttributes& attributes) {
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(*Id_).Data());
+ GetGuidAsString(*Id_).data());
result = *attributes.BriefState;
});
return result;
@@ -2537,8 +2537,8 @@ void TOperation::TOperationImpl::OnStarted(const TOperationId& operationId)
auto guard = Guard(Lock_);
Y_ABORT_UNLESS(!Id_,
"OnStarted() called with operationId = %s for operation with id %s",
- GetGuidAsString(operationId).Data(),
- GetGuidAsString(*Id_).Data());
+ GetGuidAsString(operationId).data(),
+ GetGuidAsString(*Id_).data());
Id_ = operationId;
Y_ABORT_UNLESS(!StartedPromise_.HasValue() && !StartedPromise_.HasException());
@@ -2662,7 +2662,7 @@ void TOperation::TOperationImpl::SyncFinishOperationImpl(const TOperationAttribu
}
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(*Id_).Data());
+ GetGuidAsString(*Id_).data());
Y_ABORT_UNLESS(*attributes.BriefState != EOperationBriefState::InProgress);
{