This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit a1c2d445faec16048aa6ddf8ac4aa39317e01af7
Author: Ashwin Agrawal <[email protected]>
AuthorDate: Mon Feb 27 10:59:35 2023 -0800

    Remove FIXME related to bgwriter in sample config
    
    There is nothing special about bgwriter in GPDB compared to
    upstream. So, remove the fixme and treat bgwriter section same as
    checkpointer or parts of the sample config.
---
 src/bin/initdb/initdb.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 1db6605195..dd35309652 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -1195,19 +1195,12 @@ setup_config(void)
                                                          repltok);
 #endif
 
-#if 0
-/*
- * GPDB_12_MERGE_FIXME: the bgwriter section is missing from the sample
- * configuration used for this, should we keep that off the default config
- * or was it all an omission?
- */
 #if DEFAULT_BGWRITER_FLUSH_AFTER > 0
        snprintf(repltok, sizeof(repltok), "#bgwriter_flush_after = %dkB",
                         DEFAULT_BGWRITER_FLUSH_AFTER * (BLCKSZ / 1024));
        conflines = replace_token(conflines, "#bgwriter_flush_after = 0",
                                                          repltok);
 #endif
-#endif
 
 #if DEFAULT_CHECKPOINT_FLUSH_AFTER > 0
        snprintf(repltok, sizeof(repltok), "#checkpoint_flush_after = %dkB",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to