Hmmmm. I've had idle thoughts about why my bulk insert code want as async as in thought it would be. In my case the behavior is desirable so I didn't give it much thought. After reading your post, I realize exciting the using block is waiting for the insert to finish.
In my case, I'm in a console app, so all is well. In a web app, you have the problem of background threads deadlocking the request thread. There is a technique for dealing with this that I can't remember atm. Will look for it in a bit.
P.S.
Did you mean 'Weird' async behavior?
--
You received this message because you are subscribed to the Google Groups "ravendb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.