search for: sync_type

Displaying 18 results from an estimated 18 matches for "sync_type".

2016 Oct 28
0
Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)
...licate -f '*' > > > For 5 accounts I obtained the following crash: > > 2016-10-28T14:09:43.236946+02:00 server01 dovecot: dsync-server(someuser): Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED) This code hasn't changed for quite a long time. So I don't think this is a new bug in 2.2.26. Can you try reproduce it easily? If yes, could you try if the attached patch fixes it? -------------- next part -------------- A non-text attachment was scrubbed...
2016 Oct 28
2
Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)
...doveadm replicator replicate -f '*' For 5 accounts I obtained the following crash: 2016-10-28T14:09:43.236946+02:00 server01 dovecot: dsync-server(someuser): Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED) 2016-10-28T14:09:43.237441+02:00 server01 dovecot: dsync-server(someuser): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x8f7e0) [0x7f3d9318d7e0] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x8f8be) [0x7f3d9318d8be] -> /usr/local/lib/dovec...
2014 Feb 21
1
dsync, a zero-way synchronisation tool?
...ppily remain untouched. I've then temporarily replaced SSH with socat and captured the traffic. Any hints what goes wrong? Unfortunately there are no logs to provide... Greetings, Fabiano -------------- next part -------------- VERSION dsync 3 2 Hhostname sync_ns_prefix sync_box sync_box_guid sync_type debug sync_visible_namespaces exclude_mailboxes send_mail_requests backup_send backup_recv lock_timeout no_mail_sync no_backup_overwrite purge_remote Smailbox_guid last_uidvalidity last_common_uid last_common_modseq last_common_pvt_modseq changes_during_sync Nname existence mailbox_guid uid_validit...
2010 Dec 27
2
Dovecot Quota plugin as Couier quota
I get a similar behavior between dovecot quota plugin and courier quota with the attached patch. When the client change flags, then is forced to recalc. This is because I don't know how to get the changed flags on quota sync method. The courier quota behavior is avoid to count all deleted mails, include "mark as deleted" mails. -- Antonio P?rez-Aranda Alcaide aperezaranda at
2014 Jan 28
1
Problem to setup replication
...39;ve already tried to replicate my mailboxes using dsync, but if I run the dsync command I get only this output: bash-4.1$ ssh vmail at server1.domain.dom /usr/bin/doveadm dsync-server -u john at domain.dom VERSION dsync 3 2 Hhostname sync_ns_prefix sync_box sync_box_guid sync_type debug sync_visible_namespaces exclude_mailboxes send_mail_requests backup_send backup_recv lock_timeout no_mail_sync no_backup_overwrite purge_remote Smailbox_guid last_uidvalidity last_common_uid last_common_modseq last_common_pvt_modseq changes_du...
2013 Sep 10
1
Dovecot 2.0, 2.1 and 2.2.5 core dump when Quota Plugin (FS) is enabled
...#5 0x0000003c786600c0 in mbox_transaction_unlock (box=0x1a51270, lock_id=<value optimized out>) at mbox-storage.c:711 #6 0x00007f95c08c77e7 in quota_mailbox_transaction_rollback (ctx=0x1a589e0) at quota-storage.c:142 #7 0x00007f95c08c7218 in quota_mailbox_sync_notify (box=0x1a51270, uid=0, sync_type=0) at quota-storage.c:301 #8 0x0000003c7865fea8 in mbox_sync (mbox=0x1a51270, flags=<value optimized out>) at mbox-sync.c:2006 #9 0x0000003c78657c07 in mbox_transaction_save_commit_post (_ctx=0x1a53e20, result=<value optimized out>) at mbox-save.c:807 #10 0x0000003c786a5313 in index_t...
2019 Aug 22
0
[PATCH disk-sync 4/5] Require libnbd >= 0.9.8 and fail hard if it's an earlier version.
...on()) + if nbd_version < NBD_MIN_VERSION: + logging.error("version on libnbd is too old. Version found = %s. Min version required = %s" % + (nbd_version, NBD_MIN_VERSION)) + sys.exit(1) + state = State(args).instance validate_state(args.sync_type) parse_input(args) -- 2.22.0
2014 Dec 13
0
Replication and Sieve
...home-directory on one of the two machines, maillog was showing (on both machines with a short delay): ,----[ /var/log/mail ] | dsync-server(someuser at example.com): Panic: file dsync-brain-mailbox.c: | line 331 (dsync_brain_sync_mailbox_deinit): assertion failed: | (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED) Dec | 13 21:54:27 mail dovecot: dsync-server(someuser at example.com): Error: Raw | backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x75c0a) [0x7f51d82f1c0a] | -> /usr/lib64/dovecot/libdovecot.so.0(+0x75c76) [0x7f51d82f1c76] -> | /usr/lib64/dovecot/libdovecot....
2019 Aug 22
7
[PATCH disk-sync 0/5] Misc cleanups and convert inner loop to asynch.
This is based on top of: https://github.com/nertpinx/v2v-conversion-host/commit/0bb2efdcacd975a2cae7380080991ac7fc238d2b The first 4 patches are fairly uncontroversial miscellaneous cleanups. Patch 5 is the interesting one. (Note it doesn't quite work yet, so it's for discussion only.) Patch 5 converts the inner loop to use asynchronous libnbd calls. performance improves quite a bit for
2019 Oct 18
3
[2.3.8] possible replication issue
...ail_plugins = " mail_log notify zlib notify replication sieve" } -------------- next part -------------- VERSION doveadm-server 1 1 VERSION doveadm-client 1 1 - PLAIN xxxx... + username1 dsync-server -uusername1 -U ..... + VERSION dsync 3 5 Hhostname sync_ns_prefix sync_box sync_box_guid sync_type debug sync_visible_namespaces exclude_mailboxes send_mail_requests backup_send backup_recv lock_timeout no_mail_sync no_mailbox_renames no_backup_overwrite purge_remote no_notify sync_since_timestamp sync_max_size sync_flags sync_until_timestamp virtual_all_box empty_hdr_workaround import_commit_ms...
2013 Nov 16
0
Replication Setup
...I have attempted to run the dsync command manually from syd1: ssh -q -o StrictHostKeyChecking=no -i /home/vmail/.ssh/id_ecdsa root at syd2 doveadm dsync-server -usyd1 and I get the following in response, but this might be normal: VERSION dsync 3 1 Hhostname sync_ns_prefix sync_box sync_box_guid sync_type debug sync_visible_namespaces exclude_mailboxes send_mail_requests backup_send backup_recv lock_timeouno_mail_sync no_backup_overwrite Smailbox_guid last_uidvalidity last_common_uid last_common_modseq last_common_pvt_modseq changes_during_sync Nname existence mailbox_guid uid_validity uid_next last...
2014 Dec 10
2
Replication and Sieve
Hi, I've got two servers set up for replication, which is working fine - except the sieve scripts. While the first replication, the existing rules have been replicated well. Also the activation/Deactivation seems to work. But Changes to the rules doesn't seem to be transferred. Configuration should be the same as the other server, except for mail_replica dovecot -n: # 2.2.15:
2014 Jan 25
1
Dsync Panic
Hi, Using dsync to backup my users' mailboxes (dovecot 2.2.10 on both sides), I sometimes encounter the following issue. Below is the output of: dsync -Dvf -u "user" -R backup ssh root at server.domain.tld dsync -u "user" doveadm(root): Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm doveadm(root): Debug: Skipping module doveadm_acl_plugin,
2017 Jun 16
0
doveadm-server core dump
...__FUNCTION__ = "io_loop_run" #15 0x000000000042065e in cmd_dsync_server_run (_ctx=0x20b6168, user=<optimized out>) at doveadm-dsync.c:1169 ctx = 0x20b6168 ibc = 0x20c1a10 brain = 0x20d2b48 temp_prefix = 0x209cb68 state_str = 0x0 sync_type = <optimized out> name = 0x20a9f00 "10.33.207.136" process_title_prefix = 0x209cb40 "10.33.207.136 " mail_error = MAIL_ERROR_NONE #16 0x0000000000421f96 in doveadm_mail_next_user (ctx=ctx at entry=0x20b6168, cctx=cctx at entry=0x7ffd51c5b8e0, err...
2015 Feb 24
0
Dovecot 2.2.15, Panic: array.h: line 197 (array_idx_i): assertion failed: (idx * array->element_size < array->buffer->used)
...22 __FUNCTION__ = "io_loop_run" #27 0x00007fe4cd1b64c0 in cmd_dsync_server_run (_ctx=0x7fe4ceda4310, user=0x7fe4cedb0d60) at doveadm-dsync.c:1043 ibc = 0x7fe4cedba7b0 brain = 0x7fe4cedbc7d0 temp_prefix = <optimized out> state_str = 0x0 sync_type = <optimized out> name = 0x7fe4ced7c730 "SSL 10.1.100.49" process_title_prefix = 0x7fe4ced46da8 "10.1.100.49 " #28 0x00007fe4cd1b95c3 in doveadm_mail_next_user (ctx=0x7fe4ceda4310, input=<optimized out>, error_r=0x7fffc1ea3f00) at doveadm-mail.c:314...
2010 Apr 03
1
dovecot 2 beta4 errors & core dumps
...xb7ef03f0 in mailbox_transaction_rollback (_t=0x808d780) at mail- storage.c:1155 t = (struct mailbox_transaction_context *) 0x6aeb #9 0xb7cda323 in quota_mailbox_sync_cleanup (qbox=0x808d6c0) at quota- storage.c:246 No locals. #10 0xb7cda4df in quota_mailbox_sync_notify (box=0x808d340, uid=0, sync_type=<value optimized out>) at quota-storage.c:274 qbox = (struct quota_mailbox *) 0x808d6c0 i = <value optimized out> count = <value optimized out> size = <value optimized out> #11 0xb7f52bb7 in maildir_sync_index (ctx=0x80b45a0, partial=true) at maildir-sync-index.c:631...
2018 Feb 02
1
Dovecot 2.3.0, Panic: file mailbox-attribute.c: line 362 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL)
...in cmd_dsync_server_run (_ctx=0x55b9d50c5358, user=0x55b9d50f2628) at doveadm-dsync.c:1187 ctx = 0x55b9d50c5358 cctx = 0x7ffcb5415410 cli = false ibc = 0x55b9d510c510 brain = 0x55b9d510eb68 temp_prefix = 0x55b9d50b3ed8 state_str = 0x0 sync_type = <optimized out> name = <optimized out> process_title_prefix = 0x55b9d50b3eb0 "10.0.11.137 " mail_error = 32680 #19 0x000055b9d4cbfc07 in doveadm_mail_next_user (ctx=ctx at entry=0x55b9d50c5358, error_r=error_r at entry=0x7ffcb5415408) at doveadm-mail....
2018 Feb 07
4
BUG: panic when using fs:posix as dict for acl_shared_dict
...ot;io_loop_run" #30 0x000056481d74e4f9 in cmd_dsync_server_run (_ctx=0x56481e76bbf8, user=<optimized out>) at doveadm-dsync.c:1175 ctx = 0x56481e76bbf8 ibc = 0x56481e7988a0 brain = 0x56481e79aef8 temp_prefix = 0x56481e752ad8 state_str = 0x0 sync_type = <optimized out> name = 0x56481e75c690 "10.0.0.137" process_title_prefix = 0x56481e752ab0 "10.0.0.137 " mail_error = 32612 #31 0x000056481d74ff8c in doveadm_mail_next_user (ctx=ctx at entry=0x56481e76bbf8, cctx=cctx at entry=0x7ffef8fdb400, error_r...