7485 Commits

Author SHA1 Message Date
Chris Hostetter
fa22ab8956 SOLR-13168: Fixed a bug in TestInjection that caused test only code to be invoked when TLOG replicas recieved commits if java assertions were enabled
(see also: SOLR-12313)

(cherry picked from commit ec6835906518b97ea03bbdb3b01442711cf9f943)
2019-01-25 15:50:59 -07:00
Tomas Fernandez Lobbe
4070f56a56 SOLR-12373: Remove deprecated constructor 2019-01-25 13:49:33 -08:00
Tomas Fernandez Lobbe
45bf00bf05 SOLR-12373: Let DocBasedVersionConstraintsProcessor define fields to use in tombstones
A new config option, "tombstoneConfig" allows the DocBasedVersionConstraintsProcessor
to add extra fields to the tombstone generated when a document is deleted. This can
be useful when the schema has required fields.
2019-01-25 13:41:35 -08:00
Chris Hostetter
0ba2233eea SOLR-12801: completely prevent tlog replicas from being used.
This follows the spirit of the change Mark intended in his previous commit to this test, but his solution wasn't covering all cases on backcompat to branch_7x

(see also: SOLR-12313)

(cherry picked from commit e2b8b0e5b1f36e6ecedbeca50263cc6c263d7909)
2019-01-25 10:19:09 -07:00
Mikhail Khludnev
5a54c624ca SOLR-13029: configure buffer size in HdfsBackupRepository. 2019-01-24 19:23:18 +03:00
Andrzej Bialecki
6f3d8a9770 SOLR-13072: Fix precommit. 2019-01-24 10:46:49 +01:00
Andrzej Bialecki
6489c5ad43 SOLR-13072: Enable this test again. 2019-01-23 15:49:02 +01:00
Chris Hostetter
4d9c835376 SOLR-13140: harden SearchRateTriggerIntegrationTest by using more absolute rate thresholds and latches to track when all events have been processed so we don't need to 'guess' about sleep calls
This commit also disables testDeleteNode pending an AwaitsFix on SOLR-13163

(cherry picked from commit 15e5ca999ff7e912653db897781b21642d5307f0)
2019-01-22 11:47:44 -07:00
Toke Eskildsen
5bb6a5b42c LUCENE-8585: Create jump-tables for DocValues at index-time
(cherry picked from c13645bd4c65f052e7f35df8e33d3dbfe6d7cd58)
2019-01-21 11:44:36 +01:00
Erick Erickson
83f9835a47 SOLR-11998:RebalanceLeaders API broken response format with wt=JSON
(cherry picked from commit 60aef389cfbe708701c50fc3a68a4082b69ec4d0)
2019-01-20 23:16:09 -06:00
Jimmy Casey
c91507f4b9 Fixed Spelling. 2019-01-20 11:50:48 -08:00
Erick Erickson
571ae2670a SOLR-13091: REBALANCELEADERS is broken
(cherry picked from commit a692d05a909e1ce385c56c087cb62911c27b5f5b)
2019-01-19 19:30:04 -08:00
fabric8-cd
54d64345f6 SOLR-13053: Adding test for assert that times nodes were removed and added was actually restored 2019-01-18 11:01:46 +00:00
Tomas Fernandez Lobbe
e9db95831b SOLR-12770: Make it possible to configure a host whitelist for distributed search 2019-01-15 11:49:11 -08:00
Jan Høydahl
5a5a84c7ad SOLR-13137: NPE when /admin/zookeeper/status endpoint hit in standalone mode
(cherry picked from commit b7f99fe55a6fb6e7b38828676750b3512d6899a1)
2019-01-15 16:22:36 +01:00
Chris Hostetter
62e9ff436a SOLR-12923: add a latch to TestTriggerListener to harden test that use it so they can deterministically know when all events have been proceeded
This hardens several flakey tests, and allows the removal of a several arbitrary sleep calls

(cherry picked from commit d970375cd2f2357b88886a8da5ac67ef994f8d43)
2019-01-14 18:16:59 -07:00
Andrzej Bialecki
b33df8dc0f SOLR-13072: Use the same wait in other simulated tests where the same race condition may occur. 2019-01-14 10:54:11 +01:00
Andrzej Bialecki
229a0894fb SOLR-13072: Wait for autoscaling config refresh to finish before modifying the cluster
and enable the tests for now.
2019-01-14 10:54:10 +01:00
Gus Heck
0f1da2bc14 SOLR-13051 improve TRA update processor test
- remove need to Thread.sleep()
  - better async mechanism linked to SolrCore lifecycle
  - add some additional tests to be a bit more thorough
2019-01-11 15:00:35 -05:00
Noble Paul
f48fca15fc SOLR-13016: test errors fixed 2019-01-10 00:58:08 +11:00
Noble Paul
8bb21f90e1 SOLR-13016: precommit errors 2019-01-09 23:58:04 +11:00
David Smiley
e5c7bb4ddf SOLR-12888: Run URP now auto-registers NestedUpdateProcessor before it.
(cherry picked from commit df119573dbc5781b2eed357821856b44bd7af5fd)
2019-01-08 23:26:19 -05:00
Noble Paul
0d4c81f2f9 SOLR-12983: Create DocValues fields directly from byte[] 2019-01-09 13:49:36 +11:00
Noble Paul
6f6a35d8f7 SOLR-12983: tests don't need to use the optimization 2019-01-09 13:49:25 +11:00
Noble Paul
507a96e418 SOLR-12983: JavabinLoader should avoid creating String Objects and create UTF8CharSequence fields from byte[] 2019-01-09 13:49:05 +11:00
Chris Hostetter
5a60c3e0db SOLR-13118: Fix various nodeAdded/nodeLost trigger (integration) tests related to restoriung state
This includes some cleanup and refactoring of unrelated test methods in the same classes to use new helper methods

(cherry picked from commit 5a513fab8345cd0397435e7ce830268cd3763651)
2019-01-08 10:18:27 -07:00
Andrzej Bialecki
a5972cedf8 SOLR-12730: Implement staggered SPLITSHARD requests in IndexSizeTrigger. 2019-01-07 19:15:44 +01:00
Jan Høydahl
6db1f4eb73 SOLR-7896: Avoid browser basicAuth dialogue when blockUnknown=false. Always show Dashboard menu. Clarify refGuide
(cherry picked from commit 0b6ea3f1087c2d981052880dbdd54a0eec08bff5)
2019-01-07 13:14:53 +01:00
Shalin Shekhar Mangar
2bd6f246b0 SOLR-11126: New Node-level health check handler at /admin/info/healthcheck and /node/health paths that checks if the node is live, connected to zookeeper and not shutdown 2019-01-06 12:41:49 +05:30
David Smiley
84264c7410 SOLR-12365: moved parseLuceneVersionString to SolrConfig class 2019-01-05 17:14:37 -05:00
David Smiley
ff19a3a261 SOLR-12365: Renamed class Config to XmlConfigFile 2019-01-05 10:08:36 -05:00
David Smiley
ca23040baa SOLR-12365: Renamed class Config to XmlConfigFile 2019-01-05 09:51:02 -05:00
Noble Paul
000d0c1364 SOLR-12514: FIxed the test and another bug 2019-01-05 19:31:28 +11:00
noble
669ca8f283 SOLR-12514: Adding a positive testcase also 2019-01-04 14:56:17 +11:00
noble
663fa0e17f SOLR-12514: Adding a positive testcase also 2019-01-04 14:50:52 +11:00
Mike McCandless
63dfba4c7d LUCENE-8601: attributes added to IndexableFieldType during indexing will now be preserved in the index and accessible at search time via FieldInfo attributes 2019-01-03 18:44:41 -05:00
David Smiley
6342ec699e SOLR-12633: remove anonChildDocs update parameter used in nested docs in JSON. 2019-01-03 10:58:59 -05:00
Andrzej Bialecki
0a7a478c1f SOLR-12514: Properly close a SolrClient to fix the test teardown. 2019-01-03 14:59:31 +01:00
Andrzej Bialecki
e5fda5d6f1 SOLR-13050: Fix the test so that .system events are collected again. 2019-01-02 22:11:57 +01:00
Jason Gerlowski
c34f29a4b4 SOLR-13090: Add sysprop override for maxBooleanClauses 2019-01-02 10:58:32 -05:00
Andrzej Bialecki
b9457b78d5 SOLR-13050: Fix another test that could accidentally kill the .system leader node.
Improve fallback in SystemLogListener when target collection is not present.
2019-01-02 16:55:16 +01:00
Noble Paul
302184dd7f SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not have collection replica 2019-01-02 19:49:40 +11:00
Noble Paul
619b38a19b SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not have collection replica 2019-01-02 19:44:03 +11:00
Shalin Shekhar Mangar
5016959ce8 SOLR-13082: A trigger that creates trigger events more frequently than the cool down period can starve other triggers.
This is mitigated to some extent by randomly choosing the trigger to resume after cool down. It is recommended that scheduled triggers not be used for very frequent operations to avoid this problem.
2019-01-02 11:59:00 +05:30
Christine Poerschke
6a2de771bf SOLR-13096: rename TestRankQueryPlugin to RankQueryTestPlugin 2018-12-31 11:05:31 +00:00
Erick Erickson
24ae0d16cd SOLR-12028: Catching up with annotations after recent Solr test work 2018-12-27 18:03:50 -08:00
David Smiley
106d300052 SOLR-12535: index time boosts in JSON are no longer accepted 2018-12-26 09:39:42 -05:00
David Smiley
1d0a086217 SOLR-13080: TermsQParserPlugin automaton method should (must?) sort input 2018-12-21 13:26:03 -05:00
Jason Gerlowski
207b3f4453 SOLR-13045: Sim node versioning should start at 0
Prior to this commit, new ZK nodes being simulated by the sim framework
were started with a version of -1.  This causes problems, since -1 is
also coincidentally the flag value used to ignore optimistic concurrency
locking and force overwrite values.
2018-12-21 08:04:44 -05:00
Jason Gerlowski
272178eff5 SOLR-13045: Allow SimDistribStateManager to create top-level data nodes
While working on a related issue in SimDistribStateManager, I noticed
that `createData()` only worked successfully on nodes nested more than
one level under root.  (i.e. `createData("/foo", someData, mode)` would
fail, while the same with "/foo/bar" wouldn't).  This was due to an edge
case in SimDistribStateManager's path building logic.  This commit fixes
this issue.
2018-12-20 14:09:05 -05:00