Skip to content
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

[0.9.5-nightly] Restore functionality hangs forever #4806

Closed
simcap opened this issue Nov 16, 2015 · 5 comments
Closed

[0.9.5-nightly] Restore functionality hangs forever #4806

simcap opened this issue Nov 16, 2015 · 5 comments
Assignees
Milestone

Comments

@simcap
Copy link
Contributor

simcap commented Nov 16, 2015

System: 14.04.1-Ubuntu, InfluxDB version: 0.9.5-rc2, Single instance (no clustering)

Running the backup functionality I successfully got a snapshot of my data (~456M).

Running the restore functionality on another machine (with the same setup and InfluxDB version) from the command line it then hangs forever.

Here is the output:

unpacking: _internal/monitor/1 (4669440 bytes)
unpacking: _internal/monitor/11 (33353728 bytes)
unpacking: _internal/monitor/13 (17215488 bytes)
unpacking: _internal/monitor/3 (13205504 bytes)
unpacking: _internal/monitor/5 (18153472 bytes)
unpacking: _internal/monitor/7 (23330816 bytes)
unpacking: _internal/monitor/9 (28286976 bytes)
unpacking: meta (650 bytes)
[metastore] 2015/11/16 10:47:12 Using data dir: /root/.influxdb/meta
[metastore] 2015/11/16 10:47:12 Node at 127.0.0.1:8088 [Follower]
[metastore] 2015/11/16 10:47:13 Node at 127.0.0.1:8088 [Leader]. peers=[]
[metastore] 2015/11/16 10:47:13 Created local node: id=1, host=127.0.0.1:8088
[metastore] 2015/11/16 10:47:13 spun up monitoring for 1
[metastore] 2015/11/16 10:47:13 temporary accept error: listener closing
[metastore] 2015/11/16 10:47:13 temporary accept error: listener closing


@PierreF
Copy link
Contributor

PierreF commented Nov 16, 2015

I've the same issue with 0.9.5-rc2 and 0.9.6-nightly-43a4201_x86_64.

You may reproduce it even without any data:

$ cd influxdb_0.9.5-rc2_x86_64
$ ./usr/bin/influxd config > config
$ rm -fr ~/.influxdb bkup
$ ./usr/bin/influxd run -config config &
$ ./usr/bin/influxd backup bkup
$ pkill influxd
$ rm -fr ~/.influxdb/
$ ./usr/bin/influxd restore -config config bkup

Logs for both 0.9.5 and 0.9.6 are :

unpacking: meta (40 bytes)
[metastore] 2015/11/16 15:47:14 Using data dir: /home/pierref/.influxdb/meta
[metastore] 2015/11/16 15:47:14 Node at 127.0.0.1:8088 [Follower]
[metastore] 2015/11/16 15:47:16 Node at 127.0.0.1:8088 [Leader]. peers=[]
[metastore] 2015/11/16 15:47:16 Created local node: id=1, host=127.0.0.1:8088
[metastore] 2015/11/16 15:47:16 spun up monitoring for 1
[metastore] 2015/11/16 15:47:16 temporary accept error: listener closing
[metastore] 2015/11/16 15:47:16 temporary accept error: listener closing

If you need my "bkup" file, since its very small, you may create it with:

$ (base64 -d |zcat > bkup) << EOF
H4sIAAvvSVYAA8tNzMtMSy0uYaAhMAACMzMzMA0E6LSBobERg6GRmZGRsZmZoYkpg4GhgbmRCYMC
Ld0EB6XFJYlFQKdQag6654YIqFZKy8xJLVayiq5WykvMTVWyUspNLUlU0lEqzqwC8kwMdJRyEotL
fPNTMtMyU1OA8kYGhqa6hoa6hmYhhqZWJuZWBoZ6huaGJobGhgZm2gaGVgYGSrWxtQPts1FADABF
Nq3tIJT/DUwN0PO/gYnxaP6nB+BgFGCS6H90uv/wpsZzgUpCHIxCfDn5yYk5GfnFJVYWBhYWFowO
DB4D7cxRMApGwSgYBVQGAEy6GhgADAAA
EOF

@Sahasrara
Copy link

I'm using 0.9.5.1 on ubuntu 14.04 with everything up to date. I create a snapshot on another, identical machine, copy the snapshot over, and try to restore. I get the same error listed above "temporary accept error: listener closing." Is there something I missed?

@otoolep
Copy link
Contributor

otoolep commented Dec 28, 2015

@Sahasrara - there were a bunch of fixes related to this in 0.9.6. I suggest you upgrade.

@otoolep
Copy link
Contributor

otoolep commented Dec 28, 2015

@Sahasrara
Copy link

Sorry I just looked through the change log. Sorry to bug you. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants