Skip to content

Commit 659302d

Browse files
committed
hack index pages
1 parent cdcb03a commit 659302d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/tablet_flat/flat_fwd_env.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ namespace NFwd {
287287
if ((q.Grow = got.Grow) || bool(q.Fetch)) {
288288
Queue.PushBack(&q);
289289
} else if (got.Need && got.Page == nullptr) {
290-
Y_ABORT("Cache line head don't want to do fetch but should");
290+
// temporary hack for index pages as they are always stored in group 0
291+
Y_ABORT_UNLESS(!Queue.Empty(), "Cache line head don't want to do fetch but should");
291292
}
292293

293294
return { got.Need, got.Page };

0 commit comments

Comments
 (0)