Yep, that is expected.You get the exact same thing in a SQL DB, it is called
transaction deadlock victim there.

On Tue, May 19, 2009 at 10:19 PM, nabils <[email protected]> wrote:

>
> I comment out just the lock re-run and get the following error:
>
> Microsoft.Isam.Esent.Interop.EsentErrorException was unhandled
>   Message="Error WriteConflict (JET_errWriteConflict, Write lock
> failed due to outstanding write lock)"
>  Source="Esent.Interop"
>  ErrorDescription="JET_errWriteConflict, Write lock failed due to
> outstanding write lock"
>   StackTrace:
>       at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err)
>        at Microsoft.Isam.Esent.Interop.Api.JetDelete(JET_SESID sesid,
> JET_TABLEID tableid)
>       at
> Rhino.PersistentHashTable.PersistentHashTableActions.GenerateVersionNumber
> () in c:\Dev\rhino-tools\pht\Rhino.PersistentHashTable
> \PersistentHashTableActions.cs:line 209
>       at Rhino.PersistentHashTable.PersistentHashTableActions.Put
> (PutRequest request) in c:\Dev\rhino-tools\pht
> \Rhino.PersistentHashTable\PersistentHashTableActions.cs:line 135
>       at
> ConsoleApplication1.Program.<>c__DisplayClass7.<WriteToPht>b__6
> (PersistentHashTableActions actions) in C:\Documents and Settings
> \Administrator\My Documents\Visual Studio 2008\Projects
> \ConsoleApplication1\ConsoleApplication1\Program.cs:line 68
>       at Rhino.PersistentHashTable.PersistentHashTable.Batch(Action`1
> action) in c:\Dev\rhino-tools\pht\Rhino.PersistentHashTable
> \PersistentHashTable.cs:line 159
>       at ConsoleApplication1.Program.WriteToPht(PersistentHashTable
> pht) in C:\Documents and Settings\Administrator\My Documents\Visual
> Studio 2008\Projects
> \ConsoleApplication1\ConsoleApplication1\Program.cs:line 66
>       at ConsoleApplication1.Program.Write() in C:\Documents and
> Settings\Administrator\My Documents\Visual Studio 2008\Projects
> \ConsoleApplication1\ConsoleApplication1\Program.cs:line 25
>        at System.Threading.ThreadHelper.ThreadStart_Context(Object
> state)
>       at System.Threading.ExecutionContext.Run(ExecutionContext
> executionContext, ContextCallback callback, Object state)
>       at System.Threading.ThreadHelper.ThreadStart()
>  InnerException:
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to