Re: Replication CRC error

2016-03-06 Thread Bron Gondwana via Info-cyrus
Master has:

commit 6ef874319ecd98700e682ef30fcad5245ddfdb32 Author: Bron Gondwana
 Date:   Wed Oct 22 14:51:24 2014 -0400

sync_client: do ALL mailboxes, not just all users, for -A flag


It should be pretty cherry-pickable back to 2.5 I would imagine.

Bron.

On Thu, Mar 3, 2016, at 09:17, Artyom Aleksandrov via Info-cyrus wrote:
> Hi,
>
> When using the “-A” flag (sync all users) no non-user mailboxes are
> synced. As the man page imapd.conf(5) notes, ”... this could be
> considered a bug and maybe it should do those mailboxes
> independently.” Source:
> https://cyrusimap.org/imap/admin/sop/replication.html
>
> But how in this case restore replication for shared folders? Run sync
> for each folder separately?
>
> On Wed, Mar 2, 2016, 6:01 PM Konstantin Udalov via Info-cyrus  cy...@lists.andrew.cmu.edu> wrote:
>> Hello.
>>
>>
I configured IMAP rolling replication from master to slave as was
>>
described in https://cyrusimap.org/imap/admin/sop/replication.html And
>>
everything was fine. Until some strange records appear into logs. Here
>>
is one of them.
>>
>>
Mar  2 04:48:55 hostname cyrus/sync_client[725]: MAILBOX received NO
>>
response: IMAP_SYNC_CHECKSUM Checksum Failure
>>
Mar  2 04:48:55 hostname cyrus/sync_client[725]: CRC failure on sync for
>> shared.folder.name, trying full update
>>
Mar  2 04:49:08 hostname cyrus/sync_client[725]: SYNCERROR: only exists
>>
on master shared.folder.name 286227
>>
(d41e384300c3f13f42a546ce14ec3d23bc89f1a6)
>>
Mar  2 04:49:13 hostname cyrus/sync_client[725]: SYNCERROR: only exists
>>
on master shared.folder.name 286227
>>
(d41e384300c3f13f42a546ce14ec3d23bc89f1a6)
>>
Mar  2 04:49:13 hostname cyrus/sync_client[725]: mailbox: longlock
>> shared.folder.name for 11.4 seconds
>>
>>
I stopped rolling replication and launched full (-A) replication. No
>>
more related records in logs, still message 286227 wasn't replicated and
>>
is missing on replica.
>>
If somebody faced same problem, help would be much appreciated.
>>
>>
cyrus-imap 2.5.3
>>

>>
Cyrus Home Page: http://www.cyrusimap.org/
>>
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>>
To Unsubscribe:
>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> 
> Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info:
> http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

-- 
  Bron Gondwana
  br...@fastmail.fm
 
 

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Replication CRC error

2016-03-02 Thread Artyom Aleksandrov via Info-cyrus
Hi,

When using the “-A” flag (sync all users) no non-user mailboxes are synced.
As the man page imapd.conf(5) notes, ”... this could be considered a bug
and maybe it should do those mailboxes independently.”
Source: https://cyrusimap.org/imap/admin/sop/replication.html

But how in this case restore replication for shared folders? Run sync for
each folder separately?

On Wed, Mar 2, 2016, 6:01 PM Konstantin Udalov via Info-cyrus <
info-cyrus@lists.andrew.cmu.edu> wrote:

> Hello.
>
> I configured IMAP rolling replication from master to slave as was
> described in https://cyrusimap.org/imap/admin/sop/replication.html And
> everything was fine. Until some strange records appear into logs. Here
> is one of them.
>
> Mar  2 04:48:55 hostname cyrus/sync_client[725]: MAILBOX received NO
> response: IMAP_SYNC_CHECKSUM Checksum Failure
> Mar  2 04:48:55 hostname cyrus/sync_client[725]: CRC failure on sync for
> shared.folder.name, trying full update
> Mar  2 04:49:08 hostname cyrus/sync_client[725]: SYNCERROR: only exists
> on master shared.folder.name 286227
> (d41e384300c3f13f42a546ce14ec3d23bc89f1a6)
> Mar  2 04:49:13 hostname cyrus/sync_client[725]: SYNCERROR: only exists
> on master shared.folder.name 286227
> (d41e384300c3f13f42a546ce14ec3d23bc89f1a6)
> Mar  2 04:49:13 hostname cyrus/sync_client[725]: mailbox: longlock
> shared.folder.name for 11.4 seconds
>
> I stopped rolling replication and launched full (-A) replication. No
> more related records in logs, still message 286227 wasn't replicated and
> is missing on replica.
> If somebody faced same problem, help would be much appreciated.
>
> cyrus-imap 2.5.3
> 
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Replication CRC error

2016-03-02 Thread Konstantin Udalov via Info-cyrus

Hello.

I configured IMAP rolling replication from master to slave as was 
described in https://cyrusimap.org/imap/admin/sop/replication.html And 
everything was fine. Until some strange records appear into logs. Here 
is one of them.


Mar  2 04:48:55 hostname cyrus/sync_client[725]: MAILBOX received NO 
response: IMAP_SYNC_CHECKSUM Checksum Failure
Mar  2 04:48:55 hostname cyrus/sync_client[725]: CRC failure on sync for 
shared.folder.name, trying full update
Mar  2 04:49:08 hostname cyrus/sync_client[725]: SYNCERROR: only exists 
on master shared.folder.name 286227 
(d41e384300c3f13f42a546ce14ec3d23bc89f1a6)
Mar  2 04:49:13 hostname cyrus/sync_client[725]: SYNCERROR: only exists 
on master shared.folder.name 286227 
(d41e384300c3f13f42a546ce14ec3d23bc89f1a6)
Mar  2 04:49:13 hostname cyrus/sync_client[725]: mailbox: longlock 
shared.folder.name for 11.4 seconds


I stopped rolling replication and launched full (-A) replication. No 
more related records in logs, still message 286227 wasn't replicated and 
is missing on replica.

If somebody faced same problem, help would be much appreciated.

cyrus-imap 2.5.3

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus