Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/storage/buffer_manager/vm_region.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ frame_group_idx_t VMRegion::addNewFrameGroup() {
std::unique_lock xLck{mtx};
if (numFrameGroups >= maxNumFrameGroups) {
// LCOV_EXCL_START
throw BufferManagerException("No more frame groups can be added to the allocator.");
throw BufferManagerException(
std::format("Maximum database size of {} bytes has been reached. "
"Reopen the database with a larger max_db_size to continue.",
getMaxRegionSize()));
// LCOV_EXCL_STOP
}
return numFrameGroups++;
Expand Down
Loading