basho-labs / riak-data-migrator

Riak logical export and data migration tool (using Java client)
15 stars 6 forks source link

Do not decode -b args. #17

Closed randysecrist closed 9 years ago

randysecrist commented 9 years ago

We need to standardize on an input format. This change suggests that we should not be doing any form of encoding or format change immediately after receiving input.

It is best to leave these decisions to components which need to directly interact with output and tie them to functions which carry out the intended output, rather than assume things early which may not be true later.

To put it another way, do not prematurely or permanently mutate use input. There are likely other cases of this same thing happening elsewhere. In the interest of time, we are only fixing this one for now.

drewkerrigan commented 9 years ago

+1 566014d