Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-395

Adding a Instance record with a few more contributors than normal throws "Values larger than 1/3 of a buffer page cannot be indexed" exception

    XMLWordPrintable

Details

    • CP: sprint 79
    • 1
    • Core: Platform

    Description

      This behaviour has been observed both in Five Colleges tenant and in Snapshot-stable

      Steps to reproduce:
      1. Post the attached Instance record to /inventory/instances

      What should happen:
      Instance is created successfully

      What actually happens:
      An exception is thrown. Message from API:

      ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 54000), (Message, index row size 2984 exceeds maximum 2712 for index "instance_contributors_idx"), (Hint, Values larger than 1/3 of a buffer page cannot be indexed.
      Consider a function index of an MD5 hash of the value, or use full text indexing.), (s, diku_mod_inventory_storage), (t, instance), (n, instance_contributors_idx), (File, nbtinsert.c), (Line, 584), (Routine, _bt_findinsertloc)])

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                ttolstoy Theodor Tolstoy (One-Group.se)
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases