Epochs for Data Stores
Epochs are a mechanism to decrease vDisk repair time. It works by periodically flushing (for example, every 4 hours) a changed block bitmap of an online vDisk on the backend. If the vDisk needs to be repaired, the latest common epoch between the master and the slave is determined, and then all subsequent epochs on the master are collapsed onto the latest common epoch bitmap. The resulting bitmap is effectively a diff bitmap, so only the blocks indicated into that bitmap need to be re-synchronized. If any error occurs during the vDisk repair, the epochs optimization is disabled, and the vDisk repair switches to full re-synchronization.
To enable epochs for a data store:
- Go to your Control Panel > Admin > Settings menu.
- Click the Data Stores icon. You'll see the list of data stores on your system.
- Click the Actions button next to the store you want to change, then select Edit.
- On the following page, move the Epoch slider to the right to enable epochs.
- Click Save Data Store.