hardcoded win32 MAX_PATH check in LogicalStorageDevice

#951 · open · 0 comments

View on GitHub ↗

mgrandi

https://github.com/microsoft/FASTER/blob/7f71289fc1e5a188e90a50f26994fb0d88657dc0/cs/src/core/Device/LocalStorageDevice.cs#L110 We just hit this in our use case, where the machine has the extended max path registry key set, but we were still getting this, I looked at the class and it looks like it is throwing an exception if the path is > 260 characters, even with the registry key set with this, even if you manually specify the special syntax to get win32 to use a extended path `\\?\C:\some\path\here` won't work https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

Comments