ensuring read access to persistence windows' byte buffers does not interfere with flushing by duplicating it first; ensuring access to logical log rotation is synchronised on XaResourceManager by removing direct calls to it
Merge pull request #733 from lassewesth/flushing

Preventing buffer overflow