diff --git a/src/gausskernel/storage/access/transam/double_write.cpp b/src/gausskernel/storage/access/transam/double_write.cpp index fb4664723..336ec11f6 100644 --- a/src/gausskernel/storage/access/transam/double_write.cpp +++ b/src/gausskernel/storage/access/transam/double_write.cpp @@ -864,6 +864,7 @@ void dw_init() ereport(LOG, (errmodule(MOD_DW), errmsg("Double write exit after recovering partial write"))); } + smgrcloseall(); } static void dw_encrypt_page(char* dest_addr)