clarencen/lshift — Issue #205: Cancel scanning
Author: clarencen
Created: 2011-11-14 22:42:05+00:00
State: open

Currently there is no way to cancel a running sync - the only way to stop a sync is to stop the agent. Hence we need to ability to cancel a sync. This involves making a sync quasi-transactional in order to prevent the correlation store from getting corrupted by half finished sync operations. One way to do this is to sync into a private index segment and then perform a merge with the main index as part of the commit process. The idea here is to reduce the performance penalty of making the (already expensive) sync operation atomic.