Commit Graph

13644 Commits

Author SHA1 Message Date
Shay Banon 08e87bd81e Async Fetch: Better logging classification + log when ignored 2015-05-22 11:59:44 +02:00
Adrien Grand 2bfac41c8e Upgrade to lucene-5.2.0-snapshot-1681024 2015-05-22 11:36:40 +02:00
javanna afb7aabea7 Internal: replace if with existing MetaData#isAllTypes call in MapperService 2015-05-22 11:28:29 +02:00
Simon Willnauer ada98ba0c4 Allow disabling of sigar via settings
Sigar can only be disabled by removing the binaries. This is tricky for our
tests and might cause a lot of trouble if a user wants or needs to do it.
This commit allows to disable sigar with a simple boolean flag in the settings.

Closes #9582
2015-05-22 10:07:40 +02:00
Robert Muir 8278c53907 remove tabs 2015-05-22 00:14:08 -04:00
Robert Muir a458bfc7a8 remove tabs 2015-05-22 00:10:40 -04:00
Robert Muir 8dabf10c26 remove tabs 2015-05-22 00:08:15 -04:00
Robert Muir fbc74ff339 remove tabs 2015-05-22 00:02:25 -04:00
Robert Muir 65253a4bc8 switch to plugin pom 2015-05-21 22:55:42 -04:00
Robert Muir 3f56eadbd9 switch to plugin pom 2015-05-21 22:55:28 -04:00
Robert Muir a7009eeb2a switch to plugin pom 2015-05-21 22:52:44 -04:00
Robert Muir d1945b6b2a switch to plugin pom 2015-05-21 22:52:31 -04:00
Robert Muir 0c92e167ae switch to plugin pom 2015-05-21 22:51:52 -04:00
Robert Muir d82238137d switch to plugin pom 2015-05-21 22:51:30 -04:00
Robert Muir d6aca867fb switch to plugin pom 2015-05-21 22:51:16 -04:00
Robert Muir 48d4fc716f switch to plugin pom 2015-05-21 22:51:02 -04:00
Robert Muir e0cbb2b812 switch to plugin pom 2015-05-21 22:50:46 -04:00
Robert Muir 4fcd2643f2 switch to plugin pom 2015-05-21 22:50:30 -04:00
Ryan Ernst 19de7039a3 Merge pull request #11292 from rjernst/remove/mapper-generic
Mappings: Remove generics from FieldMapper
2015-05-21 16:25:04 -07:00
Ryan Ernst 49e965fab0 Mappings: Remove generics from FieldMapper
FieldMapper is currently generic, where the templated type
is only used as the return of a single function, value(Object).
This change simply removes this generic type. It is not needed. The
implementations of value() now has a covariant return (so
those methods have not changed).
2015-05-21 16:07:07 -07:00
Robert Muir 79a8428aa2 remove duplicate test config 2015-05-21 16:52:05 -04:00
Robert Muir 304daebfdb remove duplicate test config 2015-05-21 16:51:53 -04:00
Robert Muir 078ec7624a remove duplicate test config 2015-05-21 16:48:58 -04:00
Robert Muir 9f1333e620 remove duplicate test config 2015-05-21 16:48:40 -04:00
Robert Muir f158740a7b remove duplicate test config 2015-05-21 16:48:17 -04:00
Robert Muir 1573a07eaa remove duplicate test config 2015-05-21 16:48:02 -04:00
Robert Muir 99867c74b8 remove duplicate test config 2015-05-21 16:47:42 -04:00
Robert Muir 7c7b5c064a remove duplicate test config 2015-05-21 16:47:26 -04:00
Robert Muir 0e17ce7f18 remove duplicate test config 2015-05-21 16:47:00 -04:00
Ryan Ernst f071c01afc Add back accidentally removed support for _all as a type alias.
See 4dd4f48
2015-05-21 13:11:32 -07:00
Simon Willnauer cbead88273 Check engine reference for null before flushing
If we close the shard before the engine is started we see a NPE in
the logs which is not problematic since the relevant parts are in a
finally block. Yet, the NPE is unnecessary and can be confusing.
2015-05-21 21:30:35 +02:00
Igor Motov 581bfc74c6 Tests: disable rebalancing in restoreIndexWithShardsMissingInLocalGateway
Rebalancing sometimes kicks in at the end of restore and interferes with reuse stats that this test relies on.
2015-05-21 13:37:06 -04:00
Shay Banon d3e36d0940 [TEST] snapshot test shoudl use assertBusy to provide more info when failing 2015-05-21 19:26:46 +02:00
jaymode 8060cd0794 add profile name to TransportChannel
Today, only the NettyTransportChannel implements the getProfileName method
and the other channel implementations do not. The profile name is useful for some
plugins to perform custom actions based on the name. Rather than checking the
type of the channel, it makes sense to always expose the profile name.

For DirectResponseChannels we use a name that cannot be used in the settings
to define another profile with that name. For LocalTransportChannel we use the
same name as the default profile.

Closes #10483
2015-05-21 12:16:04 -04:00
Adrien Grand 6b3918a97c Clean up and make the test work. 2015-05-21 18:11:17 +02:00
Simon Willnauer c8f39dd2b9 Use ReleaseableLock and try to add a test for it.. 2015-05-21 18:11:17 +02:00
Adrien Grand a98d78b3ae Mappings: Make mapping updates atomic wrt document parsing.
When mapping updates happen concurrently with document parsing, bad things can
happen. For instance, when applying a mapping update we first update the Mapping
object which is used for parsing and then FieldNameAnalyzer which is used by
IndexWriter for analysis. So if you are unlucky, it could happen that a document
was parsed successfully without introducing dynamic updates yet IndexWriter does
not see its analyzer yet.

In order to fix this issue, mapping updates are now protected by a write lock
and document parsing is protected by the read lock associated with this write
lock. This ensures that no documents will be parsed while a mapping update is
being applied, so document parsing will either see none of the update or all of
it.
2015-05-21 18:11:17 +02:00
Simon Willnauer 6b63ea49c2 [TEST] now that we check early if we are corrupted this can be run with many nodes 2015-05-21 17:57:49 +02:00
Simon Willnauer 65c646b01d Also log the shard state info for the shard that can't be opened 2015-05-21 16:46:49 +02:00
Robert Muir 2579af4fb5 engage forbidden apis 2015-05-21 10:37:06 -04:00
Robert Muir 9bc7f34da2 engage forbidden apis 2015-05-21 10:36:54 -04:00
Robert Muir bcd2121f7e engage forbidden apis 2015-05-21 10:34:33 -04:00
Robert Muir bc2f603ae3 engage forbidden apis 2015-05-21 10:34:18 -04:00
Robert Muir d0a514e666 engage forbidden apis 2015-05-21 10:34:01 -04:00
Robert Muir a9248a1d27 engage forbidden apis 2015-05-21 10:33:43 -04:00
Robert Muir 7f397cfbc0 engage forbidden apis 2015-05-21 10:33:29 -04:00
Robert Muir 278fc4e30f engage forbidden apis 2015-05-21 10:33:12 -04:00
Robert Muir bbb40f7b8d engage forbidden apis 2015-05-21 10:32:58 -04:00
Robert Muir 4c860456e8 engage forbidden APIs 2015-05-21 10:32:30 -04:00
Colin Goodheart-Smithe 35deb7efea Aggregations: Renaming reducers to Pipeline Aggregators 2015-05-21 14:57:23 +01:00