Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-76841

Healthcheck tool should warn admin about creating a substring index on membership attribute

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-10.0
    • None
    • 389-ds-base
    • 389-ds-base-3.0.6-1.el10
    • No
    • Low
    • ZStream
    • rhel-idm-ds
    • 26
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Approved Blocker
    • Enhancement
    • Hide
      .`dsctl healthcheck` now warns about creating a substring index on the membership attribute

      An entry that contains a membership attribute is usually a group with many members. When changing the value set, substring index is very expensive even for a minor change like deleting a single member. Now, when you add the substring index type, `dsctl healthcheck` warns about possible high cost of substring index on membership attributes and displays the following error message:

      `DSMOLE0002`. If the substring index is configured for a membership attribute, the removal of a member from the large group can be slow.
      Show
      .`dsctl healthcheck` now warns about creating a substring index on the membership attribute An entry that contains a membership attribute is usually a group with many members. When changing the value set, substring index is very expensive even for a minor change like deleting a single member. Now, when you add the substring index type, `dsctl healthcheck` warns about possible high cost of substring index on membership attributes and displays the following error message: `DSMOLE0002`. If the substring index is configured for a membership attribute, the removal of a member from the large group can be slow.
    • Done
    • None

      Description of problem:
      An entry containing membership attribute is usually a group and the attribute may contains many values.
      When changing the valueset, substring index is very expensive even for a minor change like deleting a single value.

      When adding such index type, the administrator should be warn of the cost and double check that the index is required.

      Version-Release number of selected component (if applicable):

      How reproducible:
      See https://bugzilla.redhat.com/show_bug.cgi?id=1868348 and the discussion in the related jira ticket Actual results:

      Expected results:
      Warn the admin of possible high cost of substing index on membership attributes

      Additional info:

              jachapma James Chapman
              tbordaz@redhat.com Thierry Bordaz
              IdM DS Dev IdM DS Dev
              Barbora Simonova Barbora Simonova
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: