Re: locks with depth of infinity treated as depth of 1

Stanley Guan wrote:
>  If a server's implementation decides to treat locks with depth of
> infinity as depth of 1, what's the recommended way for a
> server receiving requests of locks with depth of infinity?

I'd say that's a bug.

> 1) reject it and responded with detailed information

Yes.

> 2) accept it silently

Never.

> 3) or others?
>  
> What's the recommended way for the servers to reveal the above
> fact programmatically?

No idea. What's the benefit of a depth: 1 lock??? Maybe this is just a 
misunderstanding, and what you really want is a depth: 0 lock on a 
collection?

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

Received on Tuesday, 25 May 2004 20:03:20 UTC