Results 1 to 2 of 2

Thread: How are unique message blob filenames allocated?

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Rep Power

    Default [SOLVED] How are unique message blob filenames allocated?

    Quick question.

    Are blob filenames allocated sequentially based on what is in the message store directory already or by a counter somewhere?

    I have moved 7.2.0 from an old to a new server in three phases,
    1) Move all of /opt/zimbra when old mail server is still running
    2) Stop old server and rsync everything except the message store
    3) Start new server and run rsync for the blob store to catch up

    This is to reduce downtime when both servers have to be offline.

    The concern is that new mail arriving before the blob store rsync in step (3) is complete may be re-allocated blobs already allocated between step (1) and (2).
    Last edited by simonb; 07-16-2012 at 12:11 AM.

  2. #2
    Join Date
    Sep 2005
    Rep Power


    OK. Solved it.

    The answer was on this wiki page.

    Part of the filename is based on a message ID in the MySQL database that is a "KEY" value, which basically means it autoincrements each time a new entry is created. This guarantees that file in the blob store will definitely have a unique file name. So there is no danger in migrating the store directory in two passes.

Similar Threads

  1. Zimbra Desktop and cyrillic filenames
    By kpod13 in forum Users
    Replies: 0
    Last Post: 01-15-2011, 05:50 PM
  2. Special chars in attachment filenames - 404
    By Brains in forum Administrators
    Replies: 2
    Last Post: 10-01-2007, 09:58 AM
  3. attachment filenames
    By psalm121 in forum Administrators
    Replies: 1
    Last Post: 10-06-2006, 01:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts