influxdb/replications
Sam Arnold 7c0ec4dd2c
fix: replications replicates flux to() writes (#23188)
Fixes a few issues:
* flux needs to write to the replication service, instead of the engine directly.
* the replication service incorrectly had value receiver methods, I think this
was just an accident. Pointer receivers make things easier to reason about. Also
with value receivers flux was not picking up the replication config properly.
* The flux to() function previously did not receive the org properly for internal
writes. Previously this was not necessary as the write path only needs the bucket
ID at this level (after authentication). But now we need the org id to look up
replications properly.

Closes #23183
2022-03-14 12:17:58 -04:00
..
internal fix: remove nats for scraper processing (#23107) 2022-02-10 11:23:18 -05:00
metrics feat: replications metrics include failure to enqueue (#22962) 2021-12-02 14:42:55 -06:00
mock refactor: replications local write optimization (#22993) 2021-12-15 12:32:46 -08:00
remotewrite fix: remove nats for scraper processing (#23107) 2022-02-10 11:23:18 -05:00
transport feat: enable remotes and replication streams feature (#22990) 2021-12-13 16:01:50 -06:00
bucket_service.go feat: deleting a bucket also deletes all associated replications (#22424) 2021-09-09 15:22:36 -04:00
service.go fix: replications replicates flux to() writes (#23188) 2022-03-14 12:17:58 -04:00
service_test.go refactor: replications local write optimization (#22993) 2021-12-15 12:32:46 -08:00