-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Hi!
I have loaded SenderDB from disk to memory, and doing insert operation for a new data (item-label pair) by SenderDB::insert_or_assign
. label_byte_count_
in the loaded SenderDB is 7, but the label bytes of new data is 32. I found the new label is truncated to 7 bytes when the receiver get the query result.
Is this an unresolved issue, or something wrong with my operation?
I want to use fast update in this case (new label larger than old label in DB). My basic idea is to extend the label_bins_
to put the extra label part, pad the other position with zero in new bins, and then generate the polynomials. But it will raise a problem about label decryption. The effective_label_byte_count
becomes variable, so it is hard to decrypt the label correctly.
Could you please give me some advice?