Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-99542

Opensearch full reindex slower when using AWS request signing for authentication

XMLWordPrintable

      Problem

      When setting up Confluence to use OpenSearch with AWS request signing, a full reindex take 30% more time than when using basic authentication.

      Environment

      Confluence v9.2.2

      OpenSearch AWS Service 2.11

      Steps to Reproduce

      Before starting, setup a Confluence instance with at least 1GB of attachment which contains text.

      Test basic authentication

      1. Configure OpenSearch for basic authentication.
          <property name="opensearch.http.url">https://vpc-xxxxxx.eu-west-1.es.amazonaws.com</property> 
      1. Start Confluence.
      2. Wait for the UI to be accessible an go to the Content indexing page.
      3. Delete all the Confluence indices created in OpenSearch.
      4. Trigger a full index rebuild.

      Test AWS request signing

      1. Configure OpenSearch for AWS request signing.
          <property name="opensearch.aws.host">vpc-xxxxxx.eu-west-1.es.amazonaws.com</property>
          <property name="opensearch.aws.region">eu-west-1</property>
          <property name="opensearch.http.url">https://vpc-xxxxxx.eu-west-1.es.amazonaws.com</property>
      
      1. Start Confluence.
      2. Wait for the UI to be accessible an go to the Content indexing page.
      3. Delete all the Confluence indices created in OpenSearch.
      4. Trigger a full index rebuild.

       

      Expected Results

      The reindex process take around the same time in both tests.

      Actual Results

      Reindexing while using AWS request signing takes 30% more time.

      Workaround

      Use Basic Authentication until this bug is addressed.

      Notes

              Unassigned Unassigned
              63948a2d3746 Marco Salvi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: