Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use int for number of rows

closes #3
  • Loading branch information...
commit 533a6b38fce28e8b3226a108d56428c06917791d 1 parent 7956078
@dgomezferro authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/main/java/com/yahoo/omid/tso/ClientHandler.java
View
3  src/main/java/com/yahoo/omid/tso/ClientHandler.java
@@ -304,10 +304,9 @@ private void sendCommitRequest(final long timestamp) {
boolean readOnly = (rnd.nextFloat() * 100) < percentReads;
- byte size = readOnly ? 0 : (byte) rnd.nextInt(MAX_ROW);
+ int size = readOnly ? 0 : rnd.nextInt(MAX_ROW);
final RowKey [] rows = new RowKey[size];
for (byte i = 0; i < rows.length; i++) {
- // long l = rnd.nextLong();
long l = rnd.nextInt(DB_SIZE);
byte[] b = new byte[8];
for (int iii = 0; iii < 8; iii++) {
Please sign in to comment.
Something went wrong with that request. Please try again.