18963 Commits

Author SHA1 Message Date
Simon Willnauer
ceef6d7a42 fix Murmur3FieldMapperTests 2016-01-18 09:23:34 +01:00
Simon Willnauer
cb0ea70b9d fix error message 2016-01-18 09:23:34 +01:00
Simon Willnauer
2eecb9c02d add tests for AutoExpandReplicas 2016-01-18 09:23:33 +01:00
Simon Willnauer
8a4fca2947 make all unittests pass 2016-01-18 09:23:33 +01:00
Simon Willnauer
0b870c9869 paths is now the empty space by default 2016-01-18 09:23:33 +01:00
Simon Willnauer
04045a072f First steps of integrating converted settings into the cluster/index settings infrastructure
The old infa has been removed in this commit such that nothing uses `DynamicSettings` anymore
and all index-scoped settings require to be registered before the node has fully started up.
2016-01-18 09:23:33 +01:00
Simon Willnauer
211f80fcad first cut at integrating new settings infra 2016-01-18 09:23:33 +01:00
Simon Willnauer
6fe6c25fad first cut at integrating new settings infra 2016-01-18 09:23:33 +01:00
Britta Weber
0b59b12801 convert reclaim_deletes_weight and remove superfluous methods 2016-01-18 09:23:33 +01:00
Britta Weber
b161e8cdb5 convert segments_per_tier 2016-01-18 09:23:32 +01:00
Britta Weber
1f0ab58790 convert max_merged_segment 2016-01-18 09:23:32 +01:00
Simon Willnauer
14527ed2d5 use a valid default 2016-01-18 09:23:32 +01:00
Simon Willnauer
eb7012101a convert all setting in IndexMetaData 2016-01-18 09:23:32 +01:00
Britta Weber
7e5e93c73a convert max_merge_at_once_explicit 2016-01-18 09:23:32 +01:00
Britta Weber
59d7adfb59 convert max_merge_at_once 2016-01-18 09:23:32 +01:00
Britta Weber
59725315a6 convert merge.policy.floor_segment 2016-01-18 09:23:32 +01:00
Britta Weber
cf70761abf we assume from now on that settings are reset if we pass empty settings 2016-01-18 09:23:32 +01:00
Simon Willnauer
abfef7aa73 convert index allocation filtering 2016-01-18 09:23:31 +01:00
Britta Weber
f7785dceb8 convert expunge_deletes_allowed 2016-01-18 09:23:31 +01:00
Britta Weber
5b0b57c97a remove unused noCFSRatio 2016-01-18 09:23:31 +01:00
Britta Weber
a9ff6bc405 convert compound_format 2016-01-18 09:23:31 +01:00
Simon Willnauer
c702fbd29b convert all slow logs 2016-01-18 09:23:31 +01:00
Britta Weber
c4a019d93d convert translog.flush_threshold_size 2016-01-18 09:23:31 +01:00
Simon Willnauer
cdae4945a6 add unittest for indexing slow log settings 2016-01-18 09:23:31 +01:00
Simon Willnauer
3599585aa7 cut over indexing slow log 2016-01-18 09:23:30 +01:00
Simon Willnauer
69e95deb47 convert index.ttl.disable_purge 2016-01-18 09:23:30 +01:00
Simon Willnauer
2e1bc1ea44 cut over index.routing.rebalance.enable and index.routing.allocation.enable 2016-01-18 09:23:30 +01:00
Simon Willnauer
7db3a7fea9 register missing setting 2016-01-18 09:23:30 +01:00
Simon Willnauer
0bef73269a cut over index.unassigned.node_left.delayed_timeout 2016-01-18 09:23:30 +01:00
Britta Weber
8e2e749230 convert gc_deletes 2016-01-18 09:23:30 +01:00
Simon Willnauer
cfffa48d91 converted index.routing.allocation.total_shards_per_node 2016-01-18 09:23:30 +01:00
Simon Willnauer
3902ea439d convert index.max_result_window 2016-01-18 09:23:29 +01:00
Britta Weber
3512bea105 convert refresh interval 2016-01-18 09:23:29 +01:00
Simon Willnauer
60be834902 convert index.warmer.enabled 2016-01-18 09:23:29 +01:00
Simon Willnauer
b7b104a585 convert index.translog.durability 2016-01-18 09:23:29 +01:00
Simon Willnauer
da0424c75f Convert index level setting to the new setting infrastrucutre
this is an initial commit of cutting over simple string key based settings
to a more contained scoped settings infrastructure.
2016-01-18 09:23:29 +01:00
Nik Everett
9e08a0d024 Remove lots of raw from aggregations
These are the simple to remove raw type warnings from aggregations and a few
other nearby bits of code.
2016-01-17 22:29:50 -05:00
Nik Everett
b14371bd22 Remove some raw warnings from settings
Also sneaks in a couple of javadocs and one early return that I think makes
the method easier to read.
2016-01-17 21:43:47 -05:00
Nik Everett
57af014510 Zap another few raw types warnings
Mostly these come from QueryBuilder. Mostly these are fixed by just using <?>
instead of the raw type.
2016-01-17 21:28:39 -05:00
Nik Everett
742e1da857 Squash more raw type errors
Its a long string to pull
2016-01-17 17:07:32 -05:00
Jason Tedor
69b21feb3b Merge pull request #15748 from jasontedor/shard-failure-no-master-retry
Wait for new master when failing shard

Relates #14252
2016-01-17 10:50:58 -05:00
Jason Tedor
386d2ab86a More tightening of shard state action tests
This commit adds some additional assertions that test success is not
falsely indicated by adding assertions that success / failure methods
are not incorrectly invoked in failure / success scenarios.
2016-01-17 10:36:24 -05:00
Ryan Ernst
3b78267c71 Plugins: Remove site plugins
Site plugins used to be used for things like kibana and marvel, but
there is no longer a need since kibana (and marvel as a kibana plugin)
uses node.js. This change removes site plugins, as well as the flag for
jvm plugins. Now all plugins are jvm plugins.
2016-01-16 22:45:37 -08:00
Jason Tedor
3d329e3ba0 Add real clock test for age of PrioritizedRunnable
This commit adds a test for calculating the age of PrioritizedRunnable
that allows real clock time to elapse. The test ensures that at least
one millisecond has passed, and that the resolution of System#nanoTime
on the underlying system is actually able to detect this.

Relates #15995
2016-01-16 19:01:25 -05:00
Jason Tedor
cf3c0ed049 Sanity assertion that exception cause is not null
This commit adds a sanity assertion that the cause of a transport
exception when sending a shard failure is not null.
2016-01-15 16:52:04 -05:00
Jason Tedor
b4538a5676 Avoid periodic object allocations in IndexService
This commit wraps a trace logging message in a trace logging level check
to prevent allocating an Object array (to hold the logging parameters)
and a String (from the interval) when trace logging is not enabled every
second (with the default index refresh interval) and every five seconds
(with the default translog sync interval) for every open index when
trace logging is not enabled.
2016-01-15 15:14:09 -05:00
Chris Earle
1926fe5ad5 Merge branch 'master' of https://github.com/elastic/elasticsearch 2016-01-15 14:29:07 -05:00
Chris Earle
8068ceacaa Revert "[DOCS] Clarify Shadow replica setting"
This reverts commit e17b86f0c148f2589c2caed28dd160dcf8aeed99.
2016-01-15 14:28:44 -05:00
Jason Tedor
a7185a1d31 Simplify equality test in IndexShard#sameException
This commit simplifies an equality test in IndexShard#sameException
where the messages for two exceptions are being compared. The previous
condition first tested logical equality if the left exception is not
null, and otherwise tested reference equality. There is a convenience
method since JDK 7 for testing equality in this way: Objects#equals.

Closes #16025
2016-01-15 14:19:47 -05:00
Nik Everett
3896457d84 Handle closed readers in ShardCoreKeyMap
Fixes an issue caused by trying to add a LeafReader for a closed index to
ShardCoreKeyMap. It add itself to the map half way before throwing
AlreadyClosedException, leaking some references and causesing Elasticsearch
to refuse to shut down cleanly when testing.
2016-01-15 14:06:16 -05:00