From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: parallel pg_dump causes assertion failure in HEAD |
Date: | 2014-03-05 17:39:52 |
Message-ID: | 518b4768-7731-4f05-aa90-525f3b633374@email.android.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On March 5, 2014 6:07:43 PM CET, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>$ pg_dump -F d -j 4 -f foo regression
>pg_dump: [archiver (db)] query failed: pg_dump: [parallel archiver]
>query was: SET TRANSACTION SNAPSHOT '00002130-1'
>pg_dump: [archiver (db)] query failed: pg_dump: [archiver (db)] query
>failed: pg_dump: [archiver (db)] query failed: $
>
>postmaster log shows:
>
>TRAP: FailedAssertion("!(HistoricSnapshotActive())", File: "snapmgr.c",
>Line: 355)
>TRAP: FailedAssertion("!(HistoricSnapshotActive())", File: "snapmgr.c",
>Line: 355)
>TRAP: FailedAssertion("!(HistoricSnapshotActive())", File: "snapmgr.c",
>Line: 355)
>TRAP: FailedAssertion("!(HistoricSnapshotActive())", File: "snapmgr.c",
>Line: 355)
>LOG: server process (PID 15069) was terminated by signal 6: Aborted
>DETAIL: Failed process was running: SET TRANSACTION SNAPSHOT
>'00002130-1'
>LOG: terminating any other active server processes
>
>That Assert appears to have been introduced by commit b89e1510.
It's a typo. It should make sure there is *no* historical snapshot. Will later test if it really works, but I'd be surprised if not.
Andres
--
Please excuse brevity and formatting - I am writing this on my mobile phone.
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2014-03-05 17:43:44 | Re: API change advice: Passing plan invalidation info from the rewriter into the planner? |
Previous Message | Andrew Dunstan | 2014-03-05 17:38:57 | Re: jsonb and nested hstore |