Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialization leads to Access Denied on Windows #22079

Open
williamb1024 opened this issue Jan 16, 2025 · 0 comments
Open

Initialization leads to Access Denied on Windows #22079

williamb1024 opened this issue Jan 16, 2025 · 0 comments

Comments

@williamb1024
Copy link

The fsync operations performed in the code referenced below always result in an access denied result when performed on a Windows OS.

https://github.com/hashicorp/raft-wal/blob/cc4505d4dd2ef9e4231aea3c7ec7851527e67f4d/metadb/metadb.go#L135-L145

A similar issue:
https://support.hashicorp.com/hc/en-us/articles/27722437245715-Consul-Snapshot-Not-Supported-by-Windows

Additional use of Sync on a directory:
https://github.com/hashicorp/raft-wal/blob/cc4505d4dd2ef9e4231aea3c7ec7851527e67f4d/fs/fs.go#L117-L127

After two restarts of the node, consul will run as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant