Skip to content

Commit

Permalink
Merge pull request #666 from lukemartinlogan/master
Browse files Browse the repository at this point in the history
Add back original ReorganizeBlob
  • Loading branch information
lukemartinlogan authored Feb 5, 2024
2 parents cf2cc5b + a41982f commit b030683
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/hermes/bucket.h
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,20 @@ class Bucket {
id_, hshm::charbuf(""), blob_id, score, true, ctx);
}

/**
* Reorganize a blob to a new score or node
*
* @depricated
* */
void ReorganizeBlob(const BlobId &blob_id,
float score,
u32 node_id,
Context &ctx) {
ctx.node_id_ = node_id;
blob_mdm_->AsyncReorganizeBlobRoot(
id_, hshm::charbuf(""), blob_id, score, true, ctx);
}

/**
* Get the current size of the blob in the bucket
* */
Expand Down

0 comments on commit b030683

Please sign in to comment.