Hi, list!

I'm trying to update object metadata dictionary within my precommit hook
(in Erlang) using `riak_object:update_metadata/2' like this:

  Old = riak_object:get_metadata(O),
  New = dict:store(<<"X-my-metadata-name">>, Value, Old),
  NewObject = riak_object:update_metadata(O, New),

Unfortunately, the retrieved object does not contain the new keys. Where
can be the problem?

-- D.

Attachment: 0x0CAE3AEB.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to