From 2565296b98d97a54953ba2fe131dd190e7763886 Mon Sep 17 00:00:00 2001 From: EmelSimsek Date: Mon, 30 Oct 2023 09:22:16 +0300 Subject: [PATCH] Fix typos --- src/backend/distributed/utils/maintenanced.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/distributed/utils/maintenanced.c b/src/backend/distributed/utils/maintenanced.c index 981feaf4130..22a0843bd2e 100644 --- a/src/backend/distributed/utils/maintenanced.c +++ b/src/backend/distributed/utils/maintenanced.c @@ -341,11 +341,11 @@ WarnMaintenanceDaemonNotStarted(void) /* * ConnectToDatabase connects to the database for the given databaseOid. * if databaseOid is 0, connects to MainDb and then creates a hash entry. - * If a hash entry cannot be created for MainDb it exists the process requesting a restart. + * If a hash entry cannot be created for MainDb it exits the process requesting a restart. * However for regular databases, it exits without requesting a restart since another - * subsequent backend should be starting the Maintenance Deamon. - * If a hash entry found has a valid workerPid, it exits - * without requesting a restart since there is already a deamon running. + * subsequent backend is expected to start the Maintenance Daemon. + * If the found hash entry has a valid workerPid, it exits + * without requesting a restart since there is already a daemon running. */ static MaintenanceDaemonDBData * ConnectToDatabase(Oid databaseOid)