[
https://issues.apache.org/jira/browse/SOLR-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Rowe updated SOLR-6141:
-----------------------------
Attachment: SOLR-6141-fix-TestBulkSchemaConcurrent.patch
{quote}
I spoke too soon - both tests are still failing:
{{TestBulkSchemaConcurrent}}:
http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/2076/
http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/2084/
{quote}
The attached patch fixes this test. The failures were a combination of
incorrect test sequencing (attempting to delete a field and a dynamic field
before deleting a copy field directive that refers to them); a couple of
unwarranted attempts to access non-existent entries in
{{copyFieldTargetCounts}}; and failing to fail a field deletion when a dynamic
copy field directive has it as its source.
I've beasted this test with 50 iterations, no failures. Committing shortly.
{quote}
TestCloudSchemaless:
http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-MacOSX/2039/
{quote}
I can't get this one to reproduce
> Schema API: Remove fields, dynamic fields, field types and copy fields; and
> replace fields, dynamic fields and field types
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-6141
> URL: https://issues.apache.org/jira/browse/SOLR-6141
> Project: Solr
> Issue Type: Sub-task
> Components: Schema and Analysis
> Reporter: Christoph Strobl
> Assignee: Steve Rowe
> Labels: rest_api
> Attachments: SOLR-6141-fix-TestBulkSchemaConcurrent.patch,
> SOLR-6141.patch, SOLR-6141.patch
>
>
> It should be possible, via the bulk schema API, to remove and replace the
> following:
> # fields
> # dynamic fields
> # field types
> # copy field directives (note: replacement is not applicable to copy fields)
> Removing schema elements that are referred to elsewhere in the schema must be
> guarded against:
> # Removing a field type should be disallowed when there are fields or dynamic
> fields of that type.
> # Removing a field should be disallowed when there are copy field directives
> that use the field as source or destination.
> # Removing a dynamic field should be disallowed when it is the only possible
> match for a copy field source or destination.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]