Ádám Bakai has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20899


Change subject: [log_block_manager-test] Improve random selection logic
......................................................................

[log_block_manager-test] Improve random selection logic

The previous solution to remove random blocks was not good, because it
was possible that way less blocks are removed than expected. The new
approach removes exactly the same number of blocks every time but
randomizes which blocks are removed and the order of removal is
randomized, too.

Change-Id: I9f73f0572319784b07845b02d15a7d3e6f31abce
---
M src/kudu/fs/log_block_manager-test.cc
1 file changed, 4 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/99/20899/1
--
To view, visit http://gerrit.cloudera.org:8080/20899
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f73f0572319784b07845b02d15a7d3e6f31abce
Gerrit-Change-Number: 20899
Gerrit-PatchSet: 1
Gerrit-Owner: Ádám Bakai <aba...@cloudera.com>

Reply via email to