SAI-4486: force update collection if is missing #1776
SAI-4486: force update collection if is missing #1776noblepaul wants to merge 1030 commits intoapache:mainfrom
Conversation
…pache#1239) Co-authored-by: Nazerke Seidan <nseidan@salesforce.com> Co-authored-by: Kevin Risden <krisden@apache.org>
(cherry picked from commit 28d6b01)
(cherry picked from commit bb94e78)
* Changed indent size for state.json file from 2 to 0 * updated test. Set default indent to 0 * Update test to remove log message. Co-authored-by: Hitesh Khamesra <hiteshk25@yahoo.com> Co-authored-by: hitesh <hitesh@fullstory.com>
Prior to this commit, the "disable.v2.api" flag covered some aspects of request routing, but wasn't consulted during requestHandler parsing/bootstrapping or CoreContainer initialization. This commit creates a small utility method in V2ApiUtils to simplify the enabled/disabled check, and uses it in a few additional places to make sure Solr isn't doing any unnecessary work when v2 has explicitly been turned off.
Co-authored-by: Eric Pugh <epugh@opensourceconnections.com>
…e#1177) Co-authored-by: Jan Høydahl <janhoy@users.noreply.github.com>
… from CONTRIBUTING.md
…apache id) (apache#1290) (cherry picked from commit 1d65ab6)
…pache#1291) (cherry picked from commit 8b24b6b)
(cherry picked from commit ac32afd)
* Allowing for distinct Solr SSL port so that http and https can exist side by side * Adding redirect on http call * Attempting to exclude metrics and health endpoints from SSL * Attempting to exclude metrics and health endpoints from SSL * Adding ability to set a secure port as well as a host port and using the secure port of the urlscheme is https * Fixing string equality * Handling cases where only https is used so secure port isn't set differently * Adding secureHostPort to solr xml config parsing * Fixing break
* For select/get query, adjust the description in PrometheusMetricsServlet to describe the new definition of distributed/local metrics for udpate request, add a new [local] metrics so it's consistent with 8.x * Fixed unit test case
…ly do not want that returned unless specifically added as an fl param (#98) * Ignoring _version_ field for glob patterns on export since we typically do not want that returned unless specifically added as an fl param * Using CommonParams property and adding test * Tidying code * Fixing message for test
* Fixed metrics for update requests * Fixed unit test case
(cherry picked from commit 21f8b09)
* Adding Breakpoint injection to CommonTestInjection * ./gradlew tidy * Fixed javadoc * Fixed race condition for PRS collection on deletion Added unit test case in ZkStateReaderTest#testDeletePrsCollection * ./gradlew tidy * Separate the exception handling of NoNodeException and PrsZkNodeNotFoundException as their conditions/handling are quite different. * Fixed Execution failed for task ':solr:solrj-zookeeper:validateLogCalls'. * ./gradlew tidy * Fixed validateLogCalls
* Fixed breakpoint cleanup * ./gradlew tidy
* Ensuring coordinator role can work when enabled on mulitple nodes * Improving logic for creating coordinator node cores * Using constant for coordinator collection
* Updating SelectStream to handle glob patterns * Tidying code * Ensuring initialization of glob patterns list in constructor
Co-authored-by: Michael Gibney <michael@michaelgibney.net> (cherry picked from commit 658889c)
* Fixed missing rid in SearchHandler log message * ./gradlew tidy
…collection is deleted (apache#1752)
…r Node upon collection deletion (apache#1754) * CoordinatorHttpSolrCall should remove collection from mapping upon collection deletion * Updated CHANGES.txt --------- Co-authored-by: Justin Sweeney <justinsweeney@fullstory.com>
ports changes from: fullstorydev/lucene-solr#204 (60964ece8abc1e7e838b9a8f1e54ff7f4505d91d) fullstorydev/lucene-solr#207 (ee264220729490da81916af8c2ae23c5e4e52718) fullstorydev/lucene-solr#208 (20b2b694c223723c6e80c2344b401772c67221ce) fullstorydev/lucene-solr#209 (8835c4d0b4d90de90559c380dab8e51a0ee895a6) along with updates to compile against branch_9x (cherry picked from commit 0df9c08)
| print(' Running techproducts example on port 8983 from %s' % binaryDistPath) | ||
| try: | ||
| if not cygwin: | ||
| runExampleStatus = subprocess.call(['bin/solr','-e','techproducts']) |
There was a problem hiding this comment.
B607: Starting a process with a partial executable path
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
| print(' Running techproducts example on port 8983 from %s' % binaryDistPath) | ||
| try: | ||
| if not cygwin: | ||
| runExampleStatus = subprocess.call(['bin/solr','-e','techproducts']) |
There was a problem hiding this comment.
B603: subprocess call - check for execution of untrusted input.
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
| rev = open('%s/solr/distribution/build/release/.gitrev' % root, encoding='UTF-8').read() | ||
|
|
||
| dir = 'solr-%s-RC%d-rev-%s' % (version, rcNum, rev) | ||
| os.makedirs('%s/%s/solr' % (localDir, dir)) |
There was a problem hiding this comment.
E111: indentation is not a multiple of 4
❗❗ 4 similar findings have been found in this PR
🔎 Expand here to view all instances of this finding
| File Path | Line Number |
|---|---|
| dev-tools/scripts/buildAndPushRelease.py | 230 |
| dev-tools/scripts/smokeTestRelease.py | 543 |
| dev-tools/scripts/smokeTestRelease.py | 739 |
| dev-tools/scripts/smokeTestRelease.py | 1125 |
Visit the Lift Web Console to find more details in your report.
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
| print(' Running techproducts example on port 8983 from %s' % binaryDistPath) | ||
| try: | ||
| if not cygwin: | ||
| runExampleStatus = subprocess.call(['bin/solr','-e','techproducts']) |
There was a problem hiding this comment.
E231: missing whitespace after ','
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
| print(' Running techproducts example on port 8983 from %s' % binaryDistPath) | ||
| try: | ||
| if not cygwin: | ||
| runExampleStatus = subprocess.call(['bin/solr','-e','techproducts']) |
There was a problem hiding this comment.
E231: missing whitespace after ','
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
No description provided.