From ef22aabe85ae97cf7e9a2d1bcb67734bb7859384 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Tue, 20 Mar 2018 11:11:41 +0000 Subject: [PATCH] Alter comment --- src/leveled_bookie.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/leveled_bookie.erl b/src/leveled_bookie.erl index 19866ec..e308562 100644 --- a/src/leveled_bookie.erl +++ b/src/leveled_bookie.erl @@ -327,6 +327,8 @@ book_put(Pid, Bucket, Key, Object, IndexSpecs, Tag, TTL) -> %% of the form {ObjectOp, Bucket, Key, SubKey, Value}. The Value will be %% stored within the HEAD of the object (in the Ledger), so the full object %% is retrievable using a HEAD request. The ObjectOp is either add or remove. +%% +%% The list should be de-duplicated before it is passed to the bookie. book_mput(Pid, ObjectSpecs) -> book_mput(Pid, ObjectSpecs, infinity). @@ -335,9 +337,11 @@ book_mput(Pid, ObjectSpecs) -> %% %% When the store is being run in head_only mode, batches fo object specs may %% be inserted in to the store using book_mput/2. ObjectSpecs should be -%% of the form {action, {Bucket, Key, SubKey, Value}}. The Value will be +%% of the form {action, Bucket, Key, SubKey, Value}. The Value will be %% stored within the HEAD of the object (in the Ledger), so the full object %% is retrievable using a HEAD request. +%% +%% The list should be de-duplicated before it is passed to the bookie. book_mput(Pid, ObjectSpecs, TTL) -> gen_server:call(Pid, {mput, ObjectSpecs, TTL}, infinity).