Skip to content

Commit 995d8a8

Browse files
CyberROFLGazizonoki
authored andcommitted
Moved "Propagate error" commit from ydb repo
1 parent 2e728fd commit 995d8a8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

include/ydb-cpp-sdk/client/draft/ydb_replication.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class TErrorState {
7474
class TReplicationDescription {
7575
public:
7676
struct TItem {
77+
ui64 Id;
7778
std::string SrcPath;
7879
std::string DstPath;
7980
std::optional<std::string> SrcChangefeedName;

src/api/protos/draft/ydb_replication.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ message DescribeReplicationResult {
4444
string source_path = 1;
4545
string destination_path = 2;
4646
optional string source_changefeed_name = 3;
47+
uint64 id = 4;
4748
}
4849

4950
message RunningState {

src/client/draft/ydb_replication.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ TReplicationDescription::TReplicationDescription(const Ydb::Replication::Describ
9090
Items_.reserve(desc.items_size());
9191
for (const auto& item : desc.items()) {
9292
Items_.push_back(TItem{
93+
.Id = item.id(),
9394
.SrcPath = item.source_path(),
9495
.DstPath = item.destination_path(),
9596
.SrcChangefeedName = item.has_source_changefeed_name()

0 commit comments

Comments
 (0)