Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
emelsimsek committed Oct 30, 2023
1 parent 0607039 commit 2565296
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/backend/distributed/utils/maintenanced.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2565296

Please sign in to comment.