Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-19704

loading changelog users during server init ends prematurely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      When multiple changelog users are created for one MDT, it appears that only one of them is actually loaded when the server restarts. This becomes problematic if they have different masks; the actual mask applied on the server will be incomplete and changelog records can be missed.

      $ lctl get_param version
      version=2.17.0_RC1
      
      $ lctl --device lustre-MDT0000 changelog_register --mask SATTR
      lustre-MDT0000: Registered changelog userid 'cl1'
      $ lctl --device lustre-MDT0000 changelog_register --mask OPEN
      lustre-MDT0000: Registered changelog userid 'cl2'
      $ lctl --device lustre-MDT0000 changelog_register --mask RENME
      lustre-MDT0000: Registered changelog userid 'cl3'
      
      $ lctl get_param mdd.lustre-MDT0000.changelog_current_mask
      mdd.lustre-MDT0000.changelog_current_mask=MARK RENME OPEN SATTR
      
      $ umount /mnt/lustre-mds1
      $ mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1
      
      $ lctl get_param mdd.lustre-MDT0000.changelog_current_mask
      mdd.lustre-MDT0000.changelog_current_mask=MARK RENME

      Attachments

        Issue Links

          Activity

            People

              bertschinger Thomas Bertschinger
              bertschinger Thomas Bertschinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: