﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1869	pluggable backends: serialize backend operations on a shareset	davidsarah	zooko	"The following issue needs to be fixed before the pluggable backends code is merged to trunk (#1819). Before pluggable backends, operations that access share storage were synchronous, and so two or more such operations could not run concurrently. This is important because clients make the assumption of serializability for accesses to a mutable share on a given server (if they are the only such client, which is implied by the Prime Coordination Directive).

Now that backend operations are asynchronous, they can run concurrently. That needs to be fixed. Note that operations on different sharesets do ''not'' need to be serializable with respect to each other. (That would impose unnecessary delays.)

The simplest way to implement this is probably to have a weak cache mapping storage indices to !ShareSet objects, so that there can only be one !ShareSet object per actual shareset, and then use a deferred queue in the !ShareSet object to serialize operations. I'm not sure exactly where the cache should go yet."	defect	closed	normal	1.10.1	code-storage	cloud-branch	fixed	cloud-backend storage shareset cache test-needed		
