Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgespresso aborts running backups #3

Open
mhagander opened this issue May 28, 2014 · 1 comment
Open

pgespresso aborts running backups #3

mhagander opened this issue May 28, 2014 · 1 comment

Comments

@mhagander
Copy link

Running pgespresso_abort_backup() while a pg_basebackup based backup is running causes major breakage by throwing an assertion in the backend and restarting the whole cluster:

Console output:

pg_basebackup: could not read COPY data

Log output:

TRAP: FailedAssertion("!(XLogCtl->Insert.nonExclusiveBackups > 0)", File: "xlog.c", Line: 9795)
2014-05-28 13:10:11.775 CEST LOG:  server process (PID 18684) was terminated by signal 6: Aborted
2014-05-28 13:10:11.775 CEST LOG:  terminating any other active server processes
@mhagander
Copy link
Author

This affects all supported PostgreSQL versions. Assert is obviously only thrown if it's an assert enabled build, but that just means that the breakage is silent on other builds.

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

No branches or pull requests

1 participant