Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15221

Distributed commit errors are not propagated to the initiating client

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: main (9.0)
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Distributed commit errors are not currently propagated back to the client that initially issued the commit command. So, any commit (e.g., issued via CloudSolrClient, curl to Http API, etc.) responds with Http status code 200, API status 0, as long as the commit to the "local" core arbitrarily associated with the request succeeds. This happens no matter how many distributed commits succeed or fail (at least, to other leader replicas – I've only tested w/ replication factor 1 at the moment).

      Inconsistency – i.e. an error on an arbitrarily-determined "local" replica propagates propagates to the client, but an error on all other replicas does not – is the focus of this issue; but this issue is raised with no preconceived notions wrt how the inconsistency should be resolved.

        Attachments

        1. SOLR-15221-initial-tests.patch
          12 kB
          Michael Gibney

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgibney Michael Gibney
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: