From tommi.savikko at kontakto.fi Fri Nov 8 16:36:35 2024 From: tommi.savikko at kontakto.fi (Tommi Savikko) Date: Fri, 8 Nov 2024 16:36:35 +0000 Subject: [Bucardo-general] Helping to understand delta update Message-ID: Hi! I have been evaluating Bucardo and so far it looks great, thanks! Case which I have here has n nodes, and one "main" database, but all nodes should act as a master. First I thought I could implement this running one centralized bucardo instance, but as those nodes are sometimes offline, it seems that bucardo will stop syncing if node is down. So, now i have bucardo running on every node, and those always have dbgroup, having local database and main database and then sync with makedelta=1. Now, when I update data on node A, it updates right away to main. Also, when up update data on main, it updates right away from main to node A and node B. But, making change to node A only gets to node B when: * bucardo is restarted * there is some other change on main So my question is that is there some polling interval or so, which controls the delta updates? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tommi.savikko at kontakto.fi Fri Nov 8 19:37:46 2024 From: tommi.savikko at kontakto.fi (Tommi Savikko) Date: Fri, 8 Nov 2024 19:37:46 +0000 Subject: [Bucardo-general] Helping to understand delta update In-Reply-To: References: Message-ID: Answering to my self: On sync, there is checktime (interval) which controls this. This was not updateable with bucardo update sync checktime So I updated the table sync with UPDATE sync SET checktime=INTERVAL '30 seconds' where name=''; Now it works. ________________________________ From: Bucardo-general on behalf of Tommi Savikko via Bucardo-general Sent: Friday, 8 November 2024 18.36 To: bucardo-general at bucardo.org Subject: [Bucardo-general] Helping to understand delta update Hi! I have been evaluating Bucardo and so far it looks great, thanks! Case which I have here has n nodes, and one "main" database, but all nodes should act as a master. First I thought I could implement this running one centralized bucardo instance, but as those nodes are sometimes offline, it seems that bucardo will stop syncing if node is down. So, now i have bucardo running on every node, and those always have dbgroup, having local database and main database and then sync with makedelta=1. Now, when I update data on node A, it updates right away to main. Also, when up update data on main, it updates right away from main to node A and node B. But, making change to node A only gets to node B when: * bucardo is restarted * there is some other change on main So my question is that is there some polling interval or so, which controls the delta updates? -------------- next part -------------- An HTML attachment was scrubbed... URL: