-
Notifications
You must be signed in to change notification settings - Fork 23
Maintenance
The doveadm force-resync command works with the ceph-storage plugin. To re-sync the index with the ceph objects in the user namespace, the plugin scans the user namespace and tries to assign the found objects via the Mailbox xattribute 'M' to the mailbox.
As this requires a ceph namespace scan, this command can be slow. So you better take care of your index files.
If you loose your mailbox index, you have the option to create a new index file and reassign the ceph objects by changing the objects xattribute 'M' to the new mailbox guid. via the RMB cli:
rmb -N user_namespace set M old_mailbox_guid U new_mailbox_guid
note:
Out of performance reasons, the ceph namespace is only queried once. If you have unassigned objects in the ceph namespace, manually check all doveadm index files after repair for this mail guid, before you manually modify xattribute 'M'.