Uploaded image for project: 'mod-search'
  1. mod-search
  2. MSEARCH-392

Stream ids job, relation doesn't exist while using multi tenant

    XMLWordPrintable

Details

    • Spitfire Sprint 145
    • 2
    • Spitfire
    • Implementation coding issue

    Description

      Feature works with diku tenant. But fails while using multi tenant

      Steps to reproduce:
      1. Create new tenant and enable mod-search for created tenant OR run karate tests
      2.  Run job for streaming ids

      Expected result: Job status is COMPLETED/ERROR
      Actual result: Job freeze in IN_PROGRESS status

      Error from logs:

      ERROR: relation "resource_ids_job" does not exist. (at ResourceIdService:110)

      Note: It looks like repository can't specify the tenant module and to fix it we need to add
      tenant with module name to select query:

      SELECT * FROM testtenant_mod_search.resource_ids_job
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Shans Shans Kaluhin
                Shans Shans Kaluhin
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases