Open russorat opened 3 years ago
Added: Assumption(Sam): Only writes are streamed. Other data operations (e.g. deletes, backup restores) do not affect replication. This can cause data in the local bucket to be different than the remote.
Most of the work for this feature is now complete. It can be tried out using the latest nightly builds on influxd
and the influx
CLI for managing replications/remotes.
Warning: Running the latest nightly build of influxd
will apply migrations to any existing bolt/sqlite db files it is pointed at specific to replications. If you later start an "older" version of influxd
(for example, the latest 2.1.1
release), it will fail to startup since these migrations don't exist in anything we have released yet. You could recover from this using the influxd downgrade
command to revert the metadata dbs to the 2.0
version, although this will delete the 2.1
specific migration data...like notebooks and annotations. It probably goes without saying, but I'd strongly recommend not running the nightly with data that you don't want to lose!
Nightly influxd
server builds are available here, following the general pattern of these URLs for your desired arch (there is no nightly docker image)
Nightly influx
CLI builds are available at similar paths:
Most notable work in progress still:
I've updated my previous post to reflect the fact that all of the in-progress work that was still to be completed is now complete.
Also, we have removed the server and CLI feature flags for remotes/replications, so those flags do not have to be turned on if you are working with the latest nightlies. You should be able to use the CLI normally and see the commands listed in the top-level help, and start the server without the replicationStreamBackend
flag (you will actually get an error if you try to use this flag since it doesn't exist anymore).
Is there a rough ETA for this? This is exactly what I was searching for.
It is available now in the nightly release and will be in the next OSS release.
Target Customer / Background data / Context / Market Size
Goals
The goal of this epic is to provide a way for users to replicate data at the bucket level to one or more remote instances of InfluxDB
Acceptance Crit
influxdb-oss/<version>
Release Plan
TBD
Notes
Unanswered questions
Team