need to lock vsize updates before sync.
*/
-#define VSIZE_LOCK_SUFFIX ".vsize.lock"
+#define VSIZE_LOCK_SUFFIX "dovecot-vsize.lock"
#define VSIZE_UPDATE_MAX_LOCK_SECS 10
#define INDEXER_SOCKET_NAME "indexer"
/* we always want to know the mail size */
mail_add_temp_wanted_fields(ctx->dest_mail, MAIL_FETCH_PHYSICAL_SIZE, NULL);
- /* get quota before copying any mails. this avoids .vsize.lock
+ /* get quota before copying any mails. this avoids dovecot-vsize.lock
deadlocks with backends that lock mails for expunging/copying. */
enum quota_get_result error_res;
const char *error;
/* we always want to know the mail size */
mail_add_temp_wanted_fields(ctx->dest_mail, MAIL_FETCH_PHYSICAL_SIZE, NULL);
- /* get quota before copying any mails. this avoids .vsize.lock
+ /* get quota before copying any mails. this avoids dovecot-vsize.lock
deadlocks with backends that lock mails for expunging/copying. */
enum quota_get_result error_res;
if (quota_transaction_set_limits(qt, &error_res, &error) < 0) {