Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-520

Generated SELECT statements are incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2018-06-22 First Solr
    • Component/s: Indexer
    • Labels:
      None

      Description

      I've encountered an issue with a SELECT query that is being generated for one of the paths. Specifically when we receive the following message

      {"_table": "artist_credit_name", "position": 0, "artist_credit": 2013510}

      and get to processing path "artist_credit_names" for an artist entity/core. Query that is generated is

      SELECT artist.id FROM musicbrainz.artist WHERE artist.id IN (:ids)

      But the problem is that there are no artist ID in the set of PKs that we got in a message.

        Attachments

          Activity

            People

            Assignee:
            roman Roman
            Reporter:
            roman Roman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2018-06-22 First Solr