diff options
| author | alexnick <[email protected]> | 2023-03-21 11:47:25 +0300 |
|---|---|---|
| committer | alexnick <[email protected]> | 2023-03-21 11:47:25 +0300 |
| commit | 4ebf012c1570687e7ed242e470596c58ce63dc31 (patch) | |
| tree | 0e324e2387572c97fa691b73b96d5031f65ed045 | |
| parent | d59a09d64d8e4589de72bb0ed1f3080f3b2e1ca8 (diff) | |
fix for next iterator
fix for next iterator
| -rw-r--r-- | ydb/services/datastreams/datastreams_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/services/datastreams/datastreams_proxy.cpp b/ydb/services/datastreams/datastreams_proxy.cpp index 57b427db026..6a5c3f9bc4d 100644 --- a/ydb/services/datastreams/datastreams_proxy.cpp +++ b/ydb/services/datastreams/datastreams_proxy.cpp @@ -1496,7 +1496,7 @@ namespace NKikimr::NDataStreams::V1 { } if (!results.empty()) { auto last = results.rbegin(); - shardIterator.SetReadTimestamp(last->GetCreateTimestampMS() + 1); + shardIterator.SetReadTimestamp(0); shardIterator.SetSequenceNumber(last->GetOffset() + 1); Result.set_millis_behind_latest(TInstant::Now().MilliSeconds() - last->GetWriteTimestampMS()); } else { // remove else? |
