Skip to content

Commit dadd19e

Browse files
committed
Fix comment
1 parent d71d4f1 commit dadd19e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/standby_cleaner/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ func removeOrphanedReplicationSlots(ctx context.Context, conn *pgx.Conn, standby
8686
fmt.Printf("failed to list replication slots: %s", err)
8787
}
8888

89-
// Identify orphaned replication slots. active replication slots with the listed standbys
89+
// An orphaned replication slot is defined as an inactive replication slot that is no longer tied to
90+
// and existing repmgr member.
9091
for _, slot := range slots {
9192
matchFound := false
9293
for _, standby := range standbys {

0 commit comments

Comments
 (0)