diff --git a/CHANGELOG.md b/CHANGELOG.md index b02b6a35..ee3c40d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 4.2.3 (unreleased) +- [PR #389](https://github.com/rqlite/rqlite/pull/389): Log Store directory path on startup. + ## 4.2.2 (December 7th 2017) - [PR #383](https://github.com/rqlite/rqlite/pull/383): Fix unit tests after underlying SQLite master table changes. - [PR #384](https://github.com/rqlite/rqlite/pull/384): "status" perm required to access Go runtime information. diff --git a/store/store.go b/store/store.go index 83f4cd1f..da2a7e4e 100644 --- a/store/store.go +++ b/store/store.go @@ -224,6 +224,7 @@ func New(c *StoreConfig) *Store { // Open opens the store. If enableSingle is set, and there are no existing peers, // then this node becomes the first node, and therefore leader, of the cluster. func (s *Store) Open(enableSingle bool) error { + s.logger.Printf("ensuring %s exists", s.raftDir) if err := os.MkdirAll(s.raftDir, 0755); err != nil { return err }