diff --git a/src/EventStore.ClusterNode/Program.cs b/src/EventStore.ClusterNode/Program.cs index 141e4a29ab4..0630e9de387 100644 --- a/src/EventStore.ClusterNode/Program.cs +++ b/src/EventStore.ClusterNode/Program.cs @@ -84,7 +84,11 @@ public class Program : ProgramBase { var dbPath = opts.Db; if (!opts.MemDb) { - _dbLock = new ExclusiveDbLock(dbPath); + var absolutePath = Path.GetFullPath(dbPath); + if(Runtime.IsWindows) + absolutePath = absolutePath.ToLower(); + + _dbLock = new ExclusiveDbLock(absolutePath); if (!_dbLock.Acquire()) throw new Exception(string.Format("Couldn't acquire exclusive lock on DB at '{0}'.", dbPath)); }