mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Revert "fix(server): only set NOCOW for log file"
This reverts commit 1eff547af6.
This commit is contained in:
@@ -19,7 +19,6 @@ import (
|
||||
etcdErr "github.com/coreos/etcd/error"
|
||||
"github.com/coreos/etcd/log"
|
||||
"github.com/coreos/etcd/metrics"
|
||||
"github.com/coreos/etcd/pkg/fs"
|
||||
"github.com/coreos/etcd/store"
|
||||
)
|
||||
|
||||
@@ -292,11 +291,6 @@ func (s *PeerServer) Start(snapshot bool, discoverURL string, peers []string) er
|
||||
|
||||
s.raftServer.Init()
|
||||
|
||||
// Set NOCOW for data directory in btrfs
|
||||
if fs.IsBtrfs(s.raftServer.LogPath()) {
|
||||
fs.SetNOCOW(s.raftServer.LogPath())
|
||||
}
|
||||
|
||||
s.findCluster(discoverURL, peers)
|
||||
|
||||
s.closeChan = make(chan bool)
|
||||
|
||||
Reference in New Issue
Block a user