Skip to content

Cascading TS repl inefficiency [JIRA: RIAK-3132] #767

@macintux

Description

@macintux

Upon a casual reading, it appears that I'm unnecessarily re-wrapping objects in the w3 wire format for cascading replication.

%% Timeseries data is an encoded tagged tuple
rtq_push(_Binary, {ts, PartIdx, Batch}, Meta) ->
riak_repl2_rtq:push(length(Batch),
riak_repl_util:to_wire(w3, {PartIdx, Batch}), Meta).

I suspect the first parameter, Binary, is equivalent to the result from riak_repl_util:to_wire(w3, {PartIdx, Batch}).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions