Skip to content

Commit bacb1af

Browse files
committed
fix IsSuccess
1 parent 9892962 commit bacb1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/fq/libs/control_plane_storage/ydb_control_plane_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ NThreading::TFuture<void> TYdbControlPlaneStorageActor::PickTask(
527527
taskParams.PrepareParams, requestCounters, debugInfo, validators, transactionMode, taskParams.RetryOnTli)
528528
.Apply([=, responseTasks=responseTasks, queryId = taskParams.QueryId](const auto& future) {
529529
const auto status = future.GetValue();
530-
if (responseTasks && status.GetStatus() == EStatus::GENERIC_ERROR) {
530+
if (responseTasks && !status.IsSuccess()) {
531531
responseTasks->SafeEraseTaskBlocking(queryId);
532532
}
533533
});

0 commit comments

Comments
 (0)