From 9b4dcba8cf6c3cd86980b9af4e9cd53e0a7584af Mon Sep 17 00:00:00 2001 From: "Lei, HUANG" Date: Tue, 14 Mar 2023 10:51:16 +0800 Subject: [PATCH] fix: check errors --- src/storage/src/region/writer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/src/region/writer.rs b/src/storage/src/region/writer.rs index de91c4159a..c042eb7585 100644 --- a/src/storage/src/region/writer.rs +++ b/src/storage/src/region/writer.rs @@ -376,6 +376,7 @@ impl WriterInner { let version = version_control.current(); + let region_id = writer_ctx.shared.id; // table with id less than MIN_USER_TABLE_ID is system table if (region_id >> 32) < 1024 { let wal_header = WalHeader::with_last_manifest_version(version.manifest_version());