Skip to content

Commit 6b41f51

Browse files
fix coredumps
1 parent ebdd932 commit 6b41f51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/tx/columnshard/engines/portions/data_accessor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TPortionDataAccessor {
2020
std::optional<std::vector<TIndexChunk>> Indexes;
2121

2222
template <class TChunkInfo>
23-
static void CheckChunksOrder(const std::vector<TChunkInfo>& chunks) {
23+
static bool CheckChunksOrder(const std::vector<TChunkInfo>& chunks) {
2424
ui32 entityId = 0;
2525
ui32 chunkIdx = 0;
2626
for (auto&& i : chunks) {
@@ -30,7 +30,7 @@ class TPortionDataAccessor {
3030
entityId = i.GetEntityId();
3131
chunkIdx = 0;
3232
} else {
33-
AFL_VERIFY(i.GetChunkIdx() == chunkIdx + 1);
33+
AFL_VERIFY(i.GetChunkIdx() == chunkIdx + 1)("chunk", i.GetChunkIdx())("idx", chunkIdx);
3434
chunkIdx = i.GetChunkIdx();
3535
}
3636
}

0 commit comments

Comments
 (0)