madelson
madelson
Possibly relevant: https://devblogs.microsoft.com/oldnewthing/20130812-00/?p=3533 Sample code fails with "pipe busy" because a pipe can't have more handles open: ``` void Main() { var path = @"C:\Users\mikea_000\Documents\Interests\CS\MedallionShell\SampleCommand\bin\Debug\net46\SampleCommand.exe"; var proc = new Process...
Some initial (looking unsuccessful) work to use async IO on linux: https://github.com/madelson/MedallionShell/tree/asyncify-on-linux
Tried playing around with ReOpenFile a bit more for this on Windows, to no avail: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-reopenfile ``` void Main() { var sc = @"C:\Users\...\MedallionShell\SampleCommand\bin\Debug\net46\SampleCommand.exe"; var process = new Process {...
One option here on linux would be to use poll (https://devarea.com/linux-io-multiplexing-select-vs-poll-vs-epoll/#.XfoZdOhKiUk). We could then have one thread polling all 3 stdio streams for a process, or even across multiple processes...
@cmeeren I think you're right that if you pass a different dbPrincipal it would effectively give your locks a different keyspace. We could potentially add this as a new option...
@rmt2021 thanks for filing and for the detailed report! If I understand correctly, the retry behavior happens within the Azure SDK and results in these spurious 409 errors, Your proposal...
@rmt2021 I've attempted to file this as a [bug report in Azure SDK](https://github.com/Azure/azure-sdk-for-net/issues/29944) as a starting point. If you could add any additional details there that would be helpful. What...
@adambajguz this is the first request I've seen for RavenDB. Do you have any thoughts/links for RavenDB locking? In general I'm open to adding/accepting support for any technology where there...
Thanks! Is this something you'd be interested in contributing or just something to add to the backlog for when I get to it (either is fine with me)?
> There is a possibility I'll be implementing RavenDB-based locking for one of my projects - if so, I'll contribute :) If you get to the point of contributing post...