Push log update through to cdb/sst
Using the cdb_options and sst_options records
This commit is contained in:
parent
9ca6b499e1
commit
6677f2e5c6
12 changed files with 242 additions and 214 deletions
|
@ -71,6 +71,18 @@
|
|||
-define(EMPTY_VTAG_BIN, <<"e">>).
|
||||
-define(ROOT_PATH, "test").
|
||||
|
||||
-record(r_content, {
|
||||
metadata,
|
||||
value :: term()
|
||||
}).
|
||||
|
||||
-record(r_object, {
|
||||
bucket,
|
||||
key,
|
||||
contents :: [#r_content{}],
|
||||
vclock,
|
||||
updatemetadata=dict:store(clean, true, dict:new()),
|
||||
updatevalue :: term()}).
|
||||
|
||||
riak_object(Bucket, Key, Value, MetaData) ->
|
||||
Content = #r_content{metadata=dict:from_list(MetaData), value=Value},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue