Closed corvusmod closed 5 years ago
It has nothing to do with the MQTT plugin. The Raft library fails to recover a log range because a segment is missing its header.
Was the node shut down cleanly? Can you share this node's data directory or at least the rabbit@{hostname}/quorum
directory under it?
If you need to start the node and don't care about preserving its data you can move the rabbit@{hostname}/quorum
directory.
Actually maybe it is specific to the MQTT plugin since it's the MQTT client ID tracking machine that reports it. But we cannot be 100% sure. If you don't use quorum queues then you can safely remove the quorum data directory since what MQTT plugin uses Raft for is inherently transient data (a set of connection client IDs).
We'd need a data directory that exhibits this behavior in order to investigate.
Thanks @michaelklishin Looking at the logs I found that must be related with something there and renamed the quorum folder, and now its working. No data seems to be lost.
I can share with you the quorum folder but I don't feel ok uploading here. If you can share with me a email or some place where upload it I will send the files to you.
Thanks for your fast reply.
@michaelklishin Sent the file to your email. For me it's working so change the state of the issue to whatever you want.
I've got the directory, thanks. @corvusmod the quorum data used by the MQTT plugin is transient in nature so you wouldn't notice anything lost, indeed.
We have identified a segment file that is 0 bytes. Will file a more specific issue around the handling of those.
We have reviewed the data dir and logs provided by @corvusmod (thanks!) and so far concluded that
We ran into a version of this (3.8.2). Is the data directory of interest?
Together with logs as we need to know the sequence of events and node names.
On Tue, Jan 14, 2020 at 12:13 AM Johan Rhodin notifications@github.com wrote:
We ran into a version of this (3.8.2). Is the data directory of interest?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/rabbitmq/discussions/issues/4?email_source=notifications&email_token=AAAAIQRCMLLISGQ4SGVE36DQ5TKOXA5CNFSM4JLWDVO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI2JYMI#issuecomment-573873201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAIQVJFBBZGKP6E5JRJPTQ5TKOXANCNFSM4JLWDVOQ .
-- MK
Staff Software Engineer, Pivotal/RabbitMQ
Hi,
With the latest update the service doesn't start. I did some test and the problem seems related with the mqtt plugin. If I disable all plugins the service start flawlessly:
But once I enable the mqtt plugin it crashes:
To be sure that it's not a problem of configuration, I commented all the mqtt configuration from the rabbitmq.conf file.
Any solution? Thanks