Commit Graph

12188 Commits

Author SHA1 Message Date
Michael McCandless dae9750a83 regen back compat indices 2015-06-04 03:21:59 -04:00
Michael McCandless 2c4d59584f only add units to a snapshot that was created before 2.0 2015-06-03 19:41:57 -04:00
Michael McCandless 3724756a1a cutover to getClass().getSimpleName() for settings names 2015-06-03 19:21:38 -04:00
Michael McCandless 0247846e89 remove/downgrade nocommits 2015-06-02 16:54:15 -04:00
Michael McCandless 9bee35c391 make logged warning more stern 2015-06-02 16:24:19 -04:00
Michael McCandless e3494d78a7 add more byte-sized tests; make byte-size parsing code similar to time value parsing 2015-06-02 16:22:00 -04:00
Michael McCandless e68a9076ba cleanup time value parsing; add/consolidate tests 2015-06-02 16:08:28 -04:00
Michael McCandless 51eae3ec3d parse longs not doubles, for the 'units missing' upgrade 2015-06-01 16:15:35 -04:00
Michael McCandless 6c07c11ef5 allow upper-case time units 2015-06-01 13:12:44 -04:00
Michael McCandless 964ac4405b S does not mean the same as ms! also, allow decimal for S 2015-06-01 13:08:54 -04:00
Michael McCandless 79524c1041 add TODO to make case sensitivity consistent between byte sizes and times 2015-06-01 13:06:37 -04:00
Michael McCandless 75d9445323 add a few more tests 2015-06-01 12:47:12 -04:00
Michael McCandless 3997ed012b fix test bugs 2015-05-30 18:09:44 -04:00
Michael McCandless 54a2ab9c03 add undocumented kill switch, to disable requiring units on byte size and time settings 2015-05-30 17:36:58 -04:00
Michael McCandless 062dbee955 also upgrade cluster state, on loading initially (MetaDataService.loadGlobalState) and on restore (RestoreService) 2015-05-30 17:28:27 -04:00
Michael McCandless 68d6427944 add missing units to index settings if index was created before 2.0 2015-05-30 04:39:03 -04:00
Michael McCandless 6723c72716 make units required for byte size values 2015-05-29 05:04:24 -04:00
Michael McCandless 464b15447f require setting name to Memory/ByteSizeValue parsers 2015-05-26 05:41:12 -04:00
Michael McCandless b03d7584b4 merged master 2015-05-26 03:54:08 -04:00
Britta Weber e97353e84a [TEST] don't check shard operations counter in ExceptionRetryTests 2015-05-26 09:00:16 +02:00
Igor Motov f0c18eb704 Snapshot/Restore: check that reading indices is allowed before creating their snapshots
Clean up of Snapshot/Restore cluster and index block handling.

Closes #11133
2015-05-25 18:21:41 -10:00
Simon Willnauer 430be0d7cb [TEST] Skip invalid random file names 2015-05-25 22:41:11 +02:00
Boaz Leskes 00ce0a18c5 Merge pull request #11332 from bleskes/replication_action
Rename TransportShardReplicationOperationAction to TransportReplicationAction
2015-05-25 22:49:04 +03:00
Boaz Leskes 20d575d257 Internal: Rename TransportShardReplicationOperationAction to TransportReplicationAction
TransportShardReplicationOperationAction is a mouthful and is the only thing we mean when we say replication.  This commit also changes some related friends.
2015-05-25 22:43:04 +03:00
Alex Chan e31049988b [Docs] Fix minor spelling errors
Closes #11320
2015-05-25 19:56:43 +02:00
Michael McCandless 2b57dd7d3e Absorb ImmutableSettings into Settings
Now we have a single (final) Settings implementation.

Closes #11321
2015-05-25 13:14:01 -04:00
Tanguy Leroux 862cec5634 Packaging: Use of default CONF_DIR/CONF_FILE in plugin install
The bin/plugin script now uses the default CONF_DIR & CONF_FILE environment vars. This allows to install a plugin even if Elasticsearch has been installed with a RPM or a DEB package. This commit also adds testing files for TAR archive and plugins installation.

Closes #10673
2015-05-25 13:44:42 +02:00
Eduardo Gurgel 0f3b3c0787 Docs: Fix typo on percolate_format description
Closes #11215
2015-05-25 13:17:59 +02:00
Michael McCandless 5aaebb6d83 add missing units to tests 2015-05-25 06:48:34 -04:00
Michael McCandless 6a6df5f8ce always pass setting name to TimeValue.parseTimeValue; make units required 2015-05-25 05:33:58 -04:00
Michael McCandless dfd7122a53 add nocommits for Booleans parsing leniency 2015-05-25 05:30:41 -04:00
Clinton Gormley 4d27d751fb Docs: Move the page on facets into redirects.asciidoc 2015-05-24 23:34:23 +02:00
Clinton Gormley 6171ae6cc4 Docs: Added stub entries for pages deleted from 1.x 2015-05-24 17:57:34 +02:00
Clinton Gormley 4b854d10bd Docs: Tidied up the field statistics docs 2015-05-24 15:12:44 +02:00
Robert Muir c08481f523 allow third party license analysis to run (com.mycila vs org.codehaus.mojo mess) 2015-05-23 08:40:40 -04:00
Robert Muir 9e7595655b Ensure shaded jar has manifest too 2015-05-23 08:37:50 -04:00
Robert Muir 46c328ae14 Merge pull request #11315 from rmuir/build_cleanup
remove build duplication
2015-05-23 07:14:01 -04:00
Robert Muir b462fd712a factor out static analysis 2015-05-23 01:33:37 -04:00
Robert Muir 5b1ecbf07f add snapshot repo (so we know where to get elasticsearch-parent from if needed) 2015-05-23 00:27:28 -04:00
Robert Muir 20da601e92 factor out code coverage 2015-05-23 00:25:50 -04:00
Robert Muir 38496c8265 remove duplicate test logging configuration 2015-05-22 23:55:27 -04:00
Robert Muir 5330e3423f remove build duplication 2015-05-22 23:23:59 -04:00
Robert Muir 2635bfdd89 Merge pull request #11312 from rmuir/pkg_priv
make some sec mgr / bootup classes package private and final.
2015-05-22 16:54:21 -04:00
Robert Muir 6a32af1990 make some sec mgr / bootup classes package private and final.
These don't need to be accessible except by bootstrap.
2015-05-22 16:45:48 -04:00
Ryan Ernst 2e9f27a00c Merge pull request #11311 from rjernst/lucene/r1681214
Upgrade to lucene-5.2.0-snapshot-1681214
2015-05-22 13:40:27 -07:00
Ryan Ernst 3ff839d35f Upgrade to lucene-5.2.0-snapshot-1681214 2015-05-22 13:39:58 -07:00
jaymode fd7d6caba7 only load a plugin once from the classpath
Today, when loading plugins from the classpath we take the enumeration
given to us by the classloader and attempt to load every URL. This can
cause issues as certain classloaders, such as groovy's, will return the same
URL multiple times in the enumeration. When this happens, startup can fail
with guice errors as bindings have already been registered.

To workaround this, we create a set from the URLs returned by the classloader
to provide uniqueness.
2015-05-22 15:18:22 -04:00
Simon Willnauer d33f0e2527 Add basic javadocs to TransportNodesListGatewayStartedShards 2015-05-22 21:14:45 +02:00
Jack Conradson f47d993715 Search: Refactor of MultiValueMode removing apply and reduce
Simplification of MultiValueMode by removing the apply and reduce
methods for each mode. This creates a more consistent environment for
sorting methods since all sorting must now go through select methods.
This allows for better error handling and better encapsulation for
sorting fields with multiple values.

Note that apply and reduce had inconsistencies in the code base
prior to this change since different calls were assuming that the
accumulator for apply was the first input versus the second input.

Also added is an UnsortedNumericDoubleValues interface to allow
customized values to be input into the different sort modes. This
prevents the need for apply/reduce outside of MultiValueMode.

closes #11290
2015-05-22 10:10:58 -07:00
Shay Banon 2eaaef571c Merge pull request #11304 from kimchy/upgrade_netty_3_10_3
Upgrade to Netty 3.10.3
2015-05-22 18:42:16 +02:00