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

Gaps after sync using ha-monitor #55

Open
mzacchi opened this issue Jul 15, 2022 · 0 comments
Open

Gaps after sync using ha-monitor #55

mzacchi opened this issue Jul 15, 2022 · 0 comments

Comments

@mzacchi
Copy link

mzacchi commented Jul 15, 2022

Hi syncflux guys,

Thanks for this extremely useful piece of software.
I have a setup with master and slave Influx DBs, using syncflux to sync them. The problem I am facing is that, after the initial sync is completed ("msg="Processed Chunk 1590/17473 from [16...." reaches 100%), there is a gap in the newest portion of the DB, that only gets filled when I restart the service. Is that the usual behavior or am I missing something in the configuration?

This is the command that the service runs:
/usr/sbin/syncflux -config=/etc/syncflux/syncflux.toml -logs=/var/log/syncflux -action hamonitor -chunk 30m -master influxdb-1 -slave influxdb-2

And this is the .toml file:

[General]
logdir = "./log"
loglevel = "info"
 sync-mode = "onlyslave"

master-db = "influxdb-1"

slave-db = "influxdb-2"

check-interval = "10s"
min-sync-interval = "20s"

initial-replication = "both"
monitor-retry-interval = "1m"
data-chuck-duration = "20m"


rw-max-retries = 5

 rw-retry-delay = "10s"
num-workers = 6
max-points-on-single-write = 10000
[http]
 name = "influx-sync"
 bind-addr = "10.1.1.14:4090"
 admin-user = "admin"
 admin-passwd = "passwd"
 cookie-id = "mycookie"
[[influxdb]]
 release = "1x"
 name = "influxdb-1"
 location = "http://10.1.1.15:8086/"
 admin-user = "librenms"
 admin-passwd = "passwd"
 timeout = "60s"
[[influxdb]]
 release = "1x"
 name = "influxdb-2"
 location = "http://10.1.1.14:8086/"
 admin-user = "influxsync"
 admin-passwd = "passwd"
 timeout = "60s"

Thanks

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

No branches or pull requests

1 participant