Skip to content

Commit

Permalink
Fixed a rare bug which could cause a MapperParsingException
Browse files Browse the repository at this point in the history
if one creates a new dynamic array
  • Loading branch information
Philipp Bogensberger committed Jul 17, 2015
1 parent 2d36e43 commit cc89a32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Changes for Crate
Unreleased
==========

- Fixed a rare bug which could cause a MapperParsingException if one creates
a new dynamic array concurrently

2015/07/16 0.49.6
=================

Expand Down
2 changes: 1 addition & 1 deletion es/upstream
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ public void testInsertArrayIntoDynamicTable() throws Exception {
") with (column_policy='dynamic', number_of_replicas=0)");
ensureYellow();
execute("insert into dynamic_table (new, meta) values(['a', 'b', 'c'], 'hello')");
execute("refresh table dynamic_table");
execute("insert into dynamic_table (new) values(['d', 'e', 'f'])");
refresh();
waitNoPendingTasksOnAll();
Map<String, Object> sourceMap = getSourceMap("dynamic_table");
assertThat(String.valueOf(nestedValue(sourceMap, "properties.new.type")), is("array"));
Expand Down

0 comments on commit cc89a32

Please sign in to comment.