Re: Recovery inconsistencies, standby much larger than primary
| От | Andres Freund |
|---|---|
| Тема | Re: Recovery inconsistencies, standby much larger than primary |
| Дата | |
| Msg-id | 20140131152536.GI13199@alap3.anarazel.de обсуждение |
| Ответ на | Re: Recovery inconsistencies, standby much larger than primary (Greg Stark <stark@mit.edu>) |
| Ответы |
Re: Recovery inconsistencies, standby much larger than primary
|
| Список | pgsql-hackers |
On 2014-01-31 15:21:35 +0000, Greg Stark wrote:
> On Fri, Jan 31, 2014 at 3:19 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> >> =# select get_raw_page('data_pkey', 'main', 11073632) ;
> >> ERROR: block number 11073632 is out of range for relation "data_pkey"
> >
> > Isn't the page 3634978?
>
> The page in the record is.
It'd be interesting to look at the referenced page using bt_page_items().
> But the page on disk is in the 54th segment at offset 1F0C0000
It's interesting that the smgr gets this wrong then (as also evidenced
by the fact that relation_size does as well). Could you please do a ls
-l path/to/relfilenode*?
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services
В списке pgsql-hackers по дате отправления: