Skip to content

Commit

Permalink
Ensure initialMmapSize is 0 on Windows (#14977)
Browse files Browse the repository at this point in the history
* ensure initialMmapSize is 0 on windows

* add changelog
  • Loading branch information
raskchanky authored Apr 8, 2022
1 parent ec1a3cf commit bacfe5a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog/14977.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
raft: Ensure initialMmapSize is set to 0 on Windows
```
2 changes: 1 addition & 1 deletion physical/raft/vars_32bit.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build 386 || arm
//go:build 386 || arm || windows

package raft

Expand Down
2 changes: 1 addition & 1 deletion physical/raft/vars_64bit.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !386 && !arm
//go:build !386 && !arm && !windows

package raft

Expand Down

0 comments on commit bacfe5a

Please sign in to comment.