Open jenafermiller opened 9 years ago
Thanks Jena - that matched my diagnosis. I have the start of a branch to fix it, but will require a change to the format to fix.
This applies to both sources and sinks for realtime, fullsync and proxygets.
The customer has inquired about when this will be fixed. Just pinging the issue for posterity.
When running the
riak-repl status
from the web service the list of source_stats objects is getting truncated and only the last item in the list is getting displayed. Thus, if there is more than one source_stats connection the output of ariak-repl status
command is different when run on the command line (full output shown) vs the web service (truncated output).To reproduce the web service bug:
riak-repl connection
between them.riak-attach
on one node and runriak_repl_wm_stats
.The output of that command looks something like this:
You can see that the sources element is an object and that the object contains two elements. However, seeing as both elements have the name
source_stats
the data from the first element is being lost as the two are being collapsed into a single element that contains only the contents of the lastsource_stats
.