[Cosmo-dev] Bug Roundup

Randy Letness randy at osafoundation.org
Tue Oct 3 10:24:11 PDT 2006



Bobby Rullo wrote:
> You should just block until the other client is done putting. And 
> then, if the clients were smart, they would've had "if-none-match: *" 
> in their headers, and the second put would fail, and return with a 
> "412 - Precondition Failed" which tells the client all it needs to know.
>
Right, but there isn't an easy way to tell if there is another request 
operating on the same
resource.  We could do some in-memory implementation for now, but if we 
want to
support multiple cosmo servers talking to the same db, the 
implementation would be
more complex.  We are going to need this for locking, though.

-Randy


More information about the cosmo-dev mailing list