-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
http port not bound #215
http port not bound #215
Conversation
For reference here is the log after I moved away to data folder and restarted influxdb:
|
Ok, I think I can reproduce this problem. It might be cause by the Raft log On Thu, Jan 30, 2014 at 8:55 AM, Julien Ammous notifications@github.comwrote:
|
I will post more informations if I found some but so far I have no idea how I did this. |
Because raft compaction compact the entire log in one state, commands in the log aren't replayed on startup. Instead the entire state is loaded this prevented the AddPotentialServer from being called which in turn didn't put anything in the channel
…ter-raft-compaction Fix error with server restart after Raft log compaction
@schmurfy ok, it's fixed in 0.4.1. Source tarballs and linux packages have been pushed at http://influxdb.org/download |
awesome ! thanks :) |
fix(server.go) check server state before send event to channel
That's the third time I got this error which but I have no idea how it was caused and how to solve it (since this is a test project for now I just removed the data/raft folders).
When I start the server I get this:
I think the notable part here is "Recovered from log" but when it starts like this it doe snot appear to do anything: no cpu is used, and the http port is not bound:
Here is my config file:
I am running influxdb 0.4.0 on Linux.
any idea what happenned and how can I restore the service when in this state ?