Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a rare bug which could cause a MapperParsingException #2327

Merged
merged 1 commit into from
Jul 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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