Commit Graph

30155 Commits

Author SHA1 Message Date
Joel Bernstein f0d1e11796 SOLR-12159: Add memset Stream Evaluator 2018-04-20 11:11:48 -04:00
Shalin Shekhar Mangar a4b335c942 SOLR-12252: Fix jira issue in CHANGES.txt 2018-04-20 20:10:40 +05:30
Shalin Shekhar Mangar 86b34fe0fd SOLR-11252: Fix minor compiler and intellij warnings in autoscaling policy framework 2018-04-20 20:08:37 +05:30
Dawid Weiss 4eead83a83 SOLR-11200: A new CMS config option 'ioThrottle' to manually enable/disable ConcurrentMergeSchedule.doAutoIOThrottle. (Amrit Sarkar, Nawab Zada Asad iqbal) 2018-04-20 11:34:04 +02:00
Dawid Weiss cf05e17adc Add suppresscodec to avoid OOM on nightly runs. 2018-04-20 11:32:38 +02:00
Karl Wright 48e071f350 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-20 03:30:33 -04:00
Karl Wright 493bdec3a7 LUCENE-8258: A better fix to avoid out-of-world plane intersections for traversal planes. 2018-04-20 03:30:09 -04:00
Erick Erickson 5ef43e900f SOLR-12028: BadApple and AwaitsFix annotations usage 2018-04-19 13:14:12 -07:00
Steve Rowe 46037dc674 SOLR-6286: TestReplicationHandler.doTestReplicateAfterCoreReload(): stop checking for identical commits before/after master core reload; and make non-nightly mode test 10 docs instead of 0. 2018-04-19 14:49:10 -04:00
Cassandra Targett 42da6f795d SOLR-12163: Updated and expanded ZK ensemble docs 2018-04-19 09:50:09 -05:00
Cassandra Targett aab2c770c6 SOLR-11646: change tab-pane padding to align better under tabs 2018-04-19 08:53:24 -05:00
Karl Wright a033759f12 LUCENE-8258: Tighten rejection of travel planes that are too close to an edge. Note: this may cause failures in some cases; haven't seen it, but if that happens, the logic will need to change instead of just the cutoff. 2018-04-19 08:46:54 -04:00
noble 1c8ab330d6 SOLR-12142: EmbeddedSolrServer should use req.getContentWriter 2018-04-19 13:37:31 +10:00
Steve Rowe d09c76518a SOLR-12204: Upgrade commons-fileupload dependency to 1.3.3 to address CVE-2016-1000031 2018-04-18 19:28:55 -04:00
Steve Rowe 29cbd031c9 Add Log and Run URPs to example OpenNLP NER URP chain 2018-04-18 14:58:54 -04:00
Steve Rowe 79ed3bdf53 Explicitly call out the fact that schema api modification request bodies are in JSON format. 2018-04-18 14:58:54 -04:00
Simon Willnauer dd39128eae [TEST] Ensure IW doesn't autoflush since test relies on it producing a single segment 2018-04-18 17:46:45 +02:00
Mikhail Khludnev dbdedf3e3f SOLR-12155: making TestUnInvertedFieldException more thread-safe 2018-04-18 14:57:49 +03:00
Mikhail Khludnev 507c439558 SOLR-12187: fix precommit 2018-04-18 12:43:25 +03:00
Cao Manh Dat 1d2441441b SOLR-12187: ZkStateReader.Notification thread should only catch Exception 2018-04-18 08:40:06 +07:00
Dennis Gove 8c60be4489 SOLR-11924: Updates solr/CHANGES.txt for v7.4 2018-04-17 18:58:42 -04:00
Houston Putman ae0190b696 SOLR-11924: Added CloudCollectionsListener to watch the list of collections in a cloud. This closes #313 2018-04-17 18:57:04 -04:00
Simon Willnauer d904112428 LUCENE-8253: Don't create ReadersAndUpdates for foreign segments
IndexWriter#numDeletesToMerge was creating a ReadersAndUpdates
for all incoming SegmentCommitInfo even if that info wasn't private
to the IndexWriter. This is an illegal use of this API but since it's
transitively public via MergePolicy#findMerges we have to be conservative
with regestiering ReadersAndUpdates. In IndexWriter#numDeletesToMerge we
can only use existing ones. This means for soft-deletes we need to react
earlier in order to produce accurate numbers.

This change partially rolls back the changes in LUCENE-8253. Instead of
registering the readers once they are pulled via IndexWriter#numDeletesToMerge
we now check if segments are fully deleted on flush which is very unlikely and
can be done in a lazy fashion ie. it's only paying the extra cost of opening a
reader and checking all soft-deletes if soft deletes are used and present
in the flushed segment.

This has the side-effect that flushed segments that are 100% hard deleted are also
cleaned up right after they are flushed, previously these segments were sticking
around for a while until they got picked for a merge or received another delete.

This also closes LUCENE-8256
2018-04-17 16:26:52 +02:00
Cao Manh Dat 09db13f4f4 SOLR-12187: Replica should watch clusterstate and unload itself if its entry is removed 2018-04-17 20:16:31 +07:00
Alan Woodward f7f12a51f3 LUCENE-8253: Mute test while a fix is worked on 2018-04-17 11:58:59 +01:00
Karl Wright 4ee92c22a4 LUCENE-8257: All edges have a backing plane, so edge membership doesn't bleed through to the opposite side of the world. 2018-04-17 02:45:44 -04:00
Ishan Chattopadhyaya 72ee0f64d4 SOLR-11920: Adding a file exists check before skipping a file for replication 2018-04-17 10:48:36 +05:30
Erick Erickson a417a2cd6a SOLR-10169: PeerSync will hit an NPE on no response errors when looking for fingerprint. 2018-04-16 21:51:02 -07:00
Jason Gerlowski 7edfd9c410 SOLR-11840: Fix bin/solr help-text inconsistencies 2018-04-16 22:21:27 -04:00
Simon Willnauer 449ecb601c Remove dead code 2018-04-16 17:27:19 +02:00
Alan Woodward 0b753c34f7 Unbadapple TestIndexSorting 2018-04-16 15:24:04 +01:00
Alan Woodward 37e065007f SOLR-12147: Don't use memory-intensive codecs to test uninvert limits
This separates out TestDocTermOrds.testTriggerUninvertLimit into its own
test class, and suppresses Memory codec on it
2018-04-16 15:24:04 +01:00
Simon Willnauer c70cceaee5 LUCENE-8253: Account for soft-deletes before they are flushed to disk
Inside the IndexWriter buffers are only written to disk if it's needed
or "worth it" which doesn't guarantee soft deletes to be accounted
in time. This is not necessarily a problem since they are eventually
collected and segments that have soft-deletes will me merged eventually
but for tests and on par behavior compared to hard deletes this behavior
is tricky.
This change cuts over to accounting in-place just like hard-deletes. This
results in accurate delete numbers for soft deletes at any give point in time
once the reader is loaded or a pending soft delete occurs.

This change also fixes an issue where all updates to a DV field are allowed
event if the field is unknown. Now this only works if the field is equal
to the soft deletes field. This behavior was never released.
2018-04-16 16:17:06 +02:00
Andrzej Bialecki 1e759bc505 SOLR-12181: Fix test failures. 2018-04-16 13:16:05 +02:00
Alan Woodward 19fa91dbfb LUCENE-8254: LRUQueryCache can leak locks 2018-04-16 10:57:12 +01:00
Cao Manh Dat 3028f3e9ea SOLR-12028: Remove BadApple for CollectionsAPIDistributedZkTest.testCollectionReload() 2018-04-16 10:26:22 +07:00
David Smiley dad2d1076d SOLR-11731: revert to 7 decimal places so we can maintain the round-trip property.
Add test that we round-trip random numbers at 7 decimal places.  Would fail at 8.
2018-04-14 10:51:51 -04:00
Varun Thacker 93f9a65b1c SOLR-11724: Cdcr bootstrapping should ensure that non-leader replicas should sync with the leader 2018-04-13 15:38:26 -07:00
David Smiley e4eb8a870c SOLR-11731: one more decimal place (8) and we get the target/theoretical precision 2018-04-13 17:05:51 -04:00
Mike McCandless e2e89d1a60 LUCENE-8248: remove deprecated MergePolicyWrapper for 8.x 2018-04-13 16:32:42 -04:00
Mike McCandless 7c0387ad3f LUCENE-8248: MergePolicyWrapper is renamed to FilterMergePolicy and now also overrides getMaxCFSSegmentSizeMB 2018-04-13 15:45:19 -04:00
Joel Bernstein 487daab629 SOLR-12221: Add valueAt Stream Evaluator 2018-04-13 13:31:51 -04:00
Karl Wright 8462b134ea Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-13 12:28:03 -04:00
jdyer1 12bd5f9448 SOLR-10513: Implement .equals() for LuceneLevenshteinDistance. 2018-04-13 11:12:46 -05:00
Karl Wright d78c354bef LUCENE-8251: Handle near-parallelness with envelope plane by a progressive adjoining point distance increment, up to 100 iterations. Then, give up and assume a crossing. 2018-04-13 12:05:42 -04:00
David Smiley 9a149ad7e7 SOLR-11913: SolrParams now implements Iterable<Map.Entry<String,String[]>>
and has stream()
2018-04-13 12:05:23 -04:00
Karl Wright f88a553a91 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-13 09:40:11 -04:00
Karl Wright 79350bd4dd LUCENE-8251: Add AwaitsFix for the tests that this issue covers. 2018-04-13 09:39:31 -04:00
Jim Ferenczi 0544486b39 LUCENE-8231: update CHANGES.txt after backport to 7x 2018-04-13 14:21:03 +02:00
Andrzej Bialecki dfc05faa35 SOLR-12181: Fix NPE. Disable the test until it's fixed. 2018-04-13 12:45:54 +02:00