Commit Graph

31133 Commits

Author SHA1 Message Date
Karl Wright da62c73282 LUCENE-8587: Change GeoPoint serialization to make serialization/unserialization non-lossy 2018-12-11 09:30:01 -05:00
markrmiller 05d728f57a SOLR-12801: Add @AwaitsFix to TestHierarchicalDocBuilder#testThreeLevelHierarchy. 2018-12-11 06:05:26 -06:00
markrmiller ab891fa472 SOLR-12801: Harden TestCloudRecovery. 2018-12-11 05:45:34 -06:00
markrmiller 496c627882 SOLR-12801: Raise this test socket timeout to 30 seconds. 2018-12-11 05:45:28 -06:00
markrmiller 3205491beb SOLR-12923: Harden TestSimTriggerIntegration. 2018-12-11 05:45:19 -06:00
markrmiller 7605427481 SOLR-12801: Harden BasicDistributedZk2Test. 2018-12-11 05:45:12 -06:00
Cao Manh Dat 40502b9ba8 SOLR-13028: Remove AwaitsFix for AutoAddReplicasPlanActionTest.testSimple to get log failure 2018-12-11 10:31:59 +00:00
Cao Manh Dat d26c237e35 Remove BadApple for TestSimTriggerIntegration.testListeners to get log failure 2018-12-11 09:53:58 +00:00
Noble Paul c651cbfd9a SOLR-12885: BinaryResponseWriter (javabin format) should directly copy from BytesRef to output 2018-12-11 18:35:57 +11:00
Chris Hostetter a2199c72d4 SOLR-13050: add workaround for issue to SystemLogListenerTest
make sure the node we kill isn't the .system collection leader
2018-12-10 19:06:42 -07:00
Jason Gerlowski f89f109ec1 SOLR-13045: Harden TestSimPolicyCloud
This commit fixes a race condition in SimClusterStateProvider, fixing
several fails in TestSimPolicyCloud.
2018-12-10 17:39:12 -05:00
Cao Manh Dat af6e15e838 SOLR-13053: NodeAddedTrigger and NodeLostTrigger do not reserve added/removed time populated by restoreState 2018-12-10 20:08:07 +00:00
Simon Willnauer ef61b547b1 LUCENE-8599: Use sparse bitset to store docs in SingleValueDocValuesFieldUpdates
Using a sparse bitset in SingleValueDocValuesFieldUdpates allows storing
which documents have an update much more efficient and prevents the need
to sort the docs array altogether that showed to be a significant bottleneck
in LUCENE-8598. Using the spares bitset yields another 10x performance improvement
in applying updates versus the changes proposed in LUCENE-8598.
2018-12-10 19:20:28 +01:00
Simon Willnauer fdd9b55df0 LUCENE-8598: Only take values into account that come from a buffer that has a value 2018-12-10 19:18:51 +01:00
markrmiller d96475a0bb SOLR-12801: Fix TestSolrCloudWithKerberosAlt. 2018-12-10 11:46:34 -06:00
Jan Høydahl b6cbb8494e SOLR-13014: URI Too Long with large streaming expressions in SolrJ 2018-12-10 18:22:52 +01:00
Simon Willnauer 0650f995f9 LUCENE-8598: Improve field updates packed values
DocValuesFieldUpdats are using compact settings for packet ints that causes
dramatic slowdowns when the updates are finished and sorted. Moving to the default
accepted overhead ratio yields up to 4x improvements in applying updates. This change
also improves the packing of numeric values since we know the value range in advance and
can choose a different packing scheme in such a case.
Overall this change yields a good performance improvement since 99% of the times of applying
DV field updates are spend in the sort method which essentially makes applying the updates
4x faster.
2018-12-10 18:06:08 +01:00
markrmiller 202dad8c88 SOLR-12923: Harden TestSimLargeCluster. 2018-12-10 10:02:58 -06:00
markrmiller bf0e9b367a SOLR-12801: Relax specific test permissions to help harden tests. 2018-12-10 10:02:58 -06:00
markrmiller a1657616bb SOLR-12923: Harden TestSimTriggerIntegration. 2018-12-10 10:02:58 -06:00
markrmiller 56b959141f SOLR-12801: Try to harden closing of zk db in TestConfigSetsAPIZkFailure. 2018-12-10 10:02:58 -06:00
Alan Woodward 1305501dbd LUCENE-8597: Add IntervalIterator.gaps() and Intervals.maxgaps() 2018-12-10 09:47:29 +00:00
markrmiller 18356de837 SOLR-12923: Harden TestSimTriggerIntegration. 2018-12-09 22:55:32 -06:00
markrmiller 5405b2f1c3 SOLR-12801: Try to harden TestReplicatinHandler#doTestIndexFetchOnMasterRestart. 2018-12-09 22:55:25 -06:00
markrmiller f47976a219 SOLR-12801: Try to harden SolrRrdBackendFactoryTest. 2018-12-09 22:55:19 -06:00
markrmiller 6f8d598781 SOLR-12801: Harden CollectionsAPISolrJTest#testCreateCollWithDefaultClusterPropertiesNewFormat. 2018-12-09 20:52:03 -06:00
markrmiller 665517d3bf SOLR-12801: Harden CollectionsAPISolrJTest#testCreateCollWithDefaultClusterPropertiesOldFormat. 2018-12-09 18:50:47 -06:00
markrmiller 1d5ae9857f SOLR-12801: Raise timeout in CollectionsAPIAsyncDistributedZkTest. 2018-12-09 18:31:28 -06:00
markrmiller 5d529802c4 SOLR-12801: harden DocValuesNotIndexedTest 2018-12-09 18:31:28 -06:00
markrmiller 0824f7b045 SOLR-12801: use waitForActiveCollection call 2018-12-09 18:31:28 -06:00
markrmiller f6063a1461 SOLR-12801: boost wait to try and harden 2018-12-09 18:31:28 -06:00
markrmiller 4133ce4cc1 SOLR-12923: Harden TestSimTriggerIntegration.testNodeMarkersRegistration. 2018-12-09 18:31:28 -06:00
markrmiller 3eb2612e67 SOLR-12988: Disable SSL on Java 11/12 for now. 2018-12-09 18:31:28 -06:00
markrmiller 0aef561245 SOLR-12923: Harden TestSimNodeLostTrigger#testTrigger. 2018-12-09 18:31:28 -06:00
markrmiller 3f1b75ab82 SOLR-12801: harden MultiThreadedOCPTest 2018-12-09 18:31:28 -06:00
markrmiller a9a5cdc34d SOLR-12801: raise jetty idle socket timeout 2018-12-09 18:31:28 -06:00
markrmiller 40432cdfbc SOLR-12801: tweak shard count specificiation 2018-12-09 18:31:28 -06:00
markrmiller eac3f58c43 SOLR-12801: wait 60 seconds instead of 30 for cores to close 2018-12-09 18:31:28 -06:00
markrmiller 906e32af13 SOLR-12801: harden CollectionsAPIDistributedZkTest 2018-12-09 18:31:28 -06:00
markrmiller 65bfb1639c SOLR-12801: harden CollectionsAPISolrJTest 2018-12-09 18:31:28 -06:00
markrmiller 1184fbed63 SOLR-12923: Harden AutoScalingHandlerTest. 2018-12-09 18:31:28 -06:00
markrmiller b94911b260 SOLR-12801: don't do single index check here on windows. 2018-12-09 18:31:28 -06:00
markrmiller e25d6850c4 SOLR-13037: Add @AwaitsFix annotation to TestSimGenericDistributedQueue. 2018-12-09 18:31:28 -06:00
Erick Erickson 54ca26abe9 SOLR-12727: CHANGES.txt, updated ZooKeeper dependency 2018-12-09 09:15:42 -08:00
Erick Erickson f690302e05 SOLR-12727: Upgrade ZooKeeper dependency to 3.4.13 2018-12-09 08:50:51 -08:00
Jim Ferenczi df84a3c981 LUCENE-8592: switch the corrupted sorted index to a 7.6 version (instead of 7x). 2018-12-07 19:29:40 +01:00
Jim Ferenczi 9f29ed0757 LUCENE-8592: Fix index sorting corruption due to numeric overflow
The merge sort of sorted segments can produce an invalid
sort if the sort field is an Integer/Long that uses reverse order and contains values equal to
Integer/Long#MIN_VALUE. These values are always sorted first during a merge
(instead of last because of the reverse order) due to this bug.
Indices affected by the bug can be detected by running the CheckIndex command on a
distribution that contains the fix (7.6+).
2018-12-07 19:16:42 +01:00
Jim Ferenczi da7919f7a4 Revert "Add the ability to set the number of hits to track accurately"
This reverts commit 84d5015eee.
2018-12-07 19:15:44 +01:00
Jim Ferenczi 84d5015eee Add the ability to set the number of hits to track accurately
In Lucene 8 searches can skip non-competitive hits if the total hit count is not requested.
It is also possible to track the number of hits up to a certain threshold. This is a trade off to speed up searches while still being able to know a lower bound of the total hit count. This change adds the ability to set this threshold directly in the track_total_hits search option. A boolean value (true, false) indicates whether the total hit count should be tracked in the response. When set as an integer this option allows to compute a lower bound of the total hits while preserving the ability to skip non-competitive hits when enough matches have been collected.

Relates #33028
2018-12-07 19:11:59 +01:00
Joel Bernstein 17fca051c5 SOLR-13046: Suppress SSL for StreamingTest 2018-12-07 09:19:40 -05:00