HBASE-24364 [Chaos Monkey] Invalid data block encoding in ChangeEncodingAction (#1707)

Signed-off-by: Jan Hentschel <janh@apache.org>
This commit is contained in:
meiyi 2020-05-15 11:30:44 +08:00 committed by GitHub
parent bab4b1cf8c
commit a73132c62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class ChangeEncodingAction extends Action {
public void perform() throws IOException {
getLogger().debug("Performing action: Changing encodings on " + tableName);
// possible DataBlockEncoding id's
final int[] possibleIds = {0, 2, 3, 4, 6};
final int[] possibleIds = {0, 2, 3, 4, 7};
modifyAllTableColumns(tableName, (columnName, columnBuilder) -> {
short id = (short) possibleIds[random.nextInt(possibleIds.length)];