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 |
||
---|---|---|
.. | ||
internal | ||
metrics | ||
mock | ||
remotewrite | ||
transport | ||
bucket_service.go | ||
service.go | ||
service_test.go |