From f49439bc0888234cbc72031f174303967b537bf6 Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Sat, 13 May 2023 15:53:55 +0800 Subject: [PATCH] disable logDirect io --- src/storage/gstor/gstor_executor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/gstor/gstor_executor.c b/src/storage/gstor/gstor_executor.c index 17c7c7a..3e32239 100644 --- a/src/storage/gstor/gstor_executor.c +++ b/src/storage/gstor/gstor_executor.c @@ -455,7 +455,7 @@ static status_t gstor_init_default_params(void) attr->db_isolevel = (uint8)ISOLATION_READ_COMMITTED; attr->ckpt_timeout = DEFAULT_CKPT_TIMEOUT; attr->enable_OSYNC = GS_TRUE; - attr->enable_logdirectIO = GS_TRUE; + attr->enable_logdirectIO = GS_FALSE; attr->undo_auto_shrink = GS_TRUE; attr->repl_wait_timeout = DEFAULT_REPL_WAIT_TIMEOUT; attr->restore_check_version = GS_TRUE; -- Gitee