Skip to content

Fix bug in PITR restore problem#929

Open
hadizamani021 wants to merge 1 commit intosorintlab:masterfrom
hadizamani021:fix/restore-pitr-problem
Open

Fix bug in PITR restore problem#929
hadizamani021 wants to merge 1 commit intosorintlab:masterfrom
hadizamani021:fix/restore-pitr-problem

Conversation

@hadizamani021
Copy link

Problem: #928
Solution:
Added configurable timeout parameter to Stop() and StopIfStarted() functions using Go variadic parameters
Extended PITR shutdown timeout to 900 seconds to handle checkpoint operations
Maintains backward compatibility with existing code
Changes:
internal/postgresql/postgresql.go: Added optional timeout parameter with default 60s
cmd/keeper/cmd/keeper.go: Extended PITR case timeout to 900s
Impact: Resolves PITR initialization failures and repeated restoration cycles caused by shutdown timeouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant