protected override RavenTransaction CloneReadTransaction(RavenTransaction previous) { var clonedTx = new RavenTransaction(Environment.CloneReadTransaction(previous.InnerTransaction, PersistentContext, Allocator)); previous.Dispose(); return(clonedTx); }
protected override ClusterTransaction CloneReadTransaction(ClusterTransaction previous) { var clonedTx = new ClusterTransaction(Environment.CloneReadTransaction(previous.InnerTransaction, PersistentContext, Allocator), _changes); previous.Dispose(); return(clonedTx); }