| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Tim Perdue" <tim(at)geocrawler(dot)com> |
| Cc: | pgsql-hackers(at)hub(dot)org |
| Subject: | Re: [HACKERS] Backend Cache Invalidation |
| Date: | 1999-06-14 14:40:26 |
| Message-ID: | 14025.929371226@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Tim Perdue" <perdue(at)raccoon(dot)com> writes:
> Is anyone willing to tell me what this means:
> NOTICE: SIAssignBackendId: discarding tag 2147449930
> Connection to database 'db_domain' failed.
> FATAL 1: Backend cache invalidation initialization failed
This is coming from SIAssignBackendId() in
backend/storage/ipc/sinvaladt.c. Maybe I'm missing something,
but the logic in that routine (as of current CVS sources)
sure looks wrong.
Lines 130-138 look like they are checking for no-longer-used
procState entries that can be recycled, but (a) the test is
not obviously correct (and I'm always suspicious of code that's
both this complicated and comment-free); (b) lines 151-158
reject any entry that doesn't have tag InvalidBackendTag or
backendTag, meaning that lines 130-138 could be diked out with
no loss of functionality.
Something is wrong here...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Lockhart | 1999-06-14 14:54:51 | Re: [HACKERS] regress.sh |
| Previous Message | Tom Lane | 1999-06-14 14:22:54 | Re: [HACKERS] regress.sh |