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

ENOSPC on remote MDT might create a in-consistent striped directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

      In current DNE implementation, when creating a striped directory. In execution phase, the master MDT will only pack the remote updates inside the RPC, and these updates will not be executed until top_trans_stop() sends these updates to remote MDT. If these remote updates fails, for example ENOSPC for writing update log, but local updates succeeds, then we need rollback those local updates (or do better job during declaration?), otherwise the namespace space might be inconsistency.

      This can be reproduced by the test case in http://review.whamcloud.com/16677

            di.wang Di Wang (Inactive)
            di.wang Di Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: