You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ravendb
Raven supports optimistic concurrency to avoid overwriting other
people's changes. By default, this behavior is turned off. You can
turn it on by setting the IDocumentSession.UseOptimisticConcurrency
property to true. When that is enabled, attempting to write to a
document that was modified by another user will raise a
ConcurrencyException.
Can you elaborate further? What field/property does it use for version
id/timestamp?
Matt
unread,
May 22, 2010, 3:12:38 PM5/22/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ravendb
Ah this is where etag comes in?
So if I set this to true the client will pull the doc with an etag,
and submit the update request with the etag as a condition to be meet
before update?
Ayende Rahien
unread,
May 22, 2010, 3:16:38 PM5/22/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rav...@googlegroups.com
This is the Etag, which is stored in the metadata.
Ayende Rahien
unread,
May 22, 2010, 3:16:45 PM5/22/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message