Skip to content

Commit

Permalink
Merge 7208dff into 099f86a
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee authored Apr 16, 2022
2 parents 099f86a + 7208dff commit 765adff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/data_placement_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ Status RoundRobinPlacement(const std::vector<size_t> &blob_sizes,
std::vector<u64> ns_local(node_state.begin(), node_state.end());

for (size_t i {0}; i < blob_sizes.size(); ++i) {
std::random_device dev;
std::mt19937 rng(dev());
PlacementSchema schema;

if (split) {
Expand Down Expand Up @@ -218,8 +216,6 @@ Status RandomPlacement(const std::vector<size_t> &blob_sizes,

for (size_t i {0}; i < blob_sizes.size(); ++i) {
PlacementSchema schema;
std::random_device dev;
std::mt19937 rng(dev());

// Split the blob
if (SplitBlob(blob_sizes[i])) {
Expand Down

0 comments on commit 765adff

Please sign in to comment.