Re: pg_basebackup from 9.4-bdr to 9.4 results in corrupt index
От | Ron |
---|---|
Тема | Re: pg_basebackup from 9.4-bdr to 9.4 results in corrupt index |
Дата | |
Msg-id | 6414cdc6-106e-19c7-dec7-8b3f1f5e8245@gmail.com обсуждение исходный текст |
Ответ на | pg_basebackup from 9.4-bdr to 9.4 results in corrupt index (Jānis Pūris <janis@puris.lv>) |
Ответы |
Re: pg_basebackup from 9.4-bdr to 9.4 results in corrupt index
|
Список | pgsql-general |
On 5/25/19 11:49 AM, Jānis Pūris wrote:
1. Are you sure that you removed all BDR from the node?
2. Is the corruption there in BDR_Node_1?
3. Can you rebuild the indexes?
body{font-family:Helvetica,Arial;font-size:13px}Hello, I'm working with a 9.4-bdr cluster and want to move away from BDR tech all together. So my idea was to follow instructions on http://bdr-project.org/docs/stable/ to first strip the node from BDR making it into "regular" node and then moving the data from this node to official 9.4 instance.Environment:BDR_Node_1BDR_Node_2Regular_Node_1Steps done on BDR_Node_21. Part node from BDR cluster http://bdr-project.org/docs/stable/node-management-removing.html2. Remove BDR from node http://bdr-project.org/docs/stable/node-management-disabling.html3. Create SR slot select pg_create_physical_replication_slot('new_cluster_node');After this. Steps done on Regular_Node_1, which is 9.4.221. Init the new node with pg_basebackup with source being BDR_Node_12. Update recovery.conf and postgres.conf3. Start it with pg_ctlAll seems to be working well, but for this:select * from information_schema.sequences;produces "[XX000] ERROR: cache lookup failed for index 899807" for all of the DBs that were configured with BDR with various OID.I can not reproduce this error, when running query on any of the DBs on 9.4-bdr node.Does anyone have any idea what may be causing this ?Due to this I'm also unable to run pg_dump on new_cluster_node - it also results in the same error.That said. For more context - If it worked, next steps would have been to1. Deactivate virtual IP on BDR_Node_22. Check for no replication lag on BDR_Node_2 slot "new_cluster_node"3. Promote Regular_Node_14. Activate virtual IP on BDR_Node_2Build the new 9.4 cluster from there on.Any ideas / comments will be much appreciated!
1. Are you sure that you removed all BDR from the node?
2. Is the corruption there in BDR_Node_1?
3. Can you rebuild the indexes?
--
Angular momentum makes the world go 'round.
Angular momentum makes the world go 'round.
В списке pgsql-general по дате отправления: