[LU-14553] Inappropriate console log messages due to lfs changelog_clear Created: 25/Mar/21  Updated: 09/Mar/22  Resolved: 05/May/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0, Lustre 2.12.6
Fix Version/s: Lustre 2.12.7, Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Olaf Faaland Assignee: Olaf Faaland
Resolution: Fixed Votes: 0
Labels: llnl, llnlfixready

Issue Links:
Related
is related to LU-15357 hash.c:1111:cfs_hash_destroy() ASSERT... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When a user runs "lfs changelog_clear <mdt> <id> <endrec>" and <endec> and below changelog entries have already been cleared, the MDT reports the following warning on the console:

Failure to clear the changelog for user <id>: -22

and when a user runs the same command for an <id> that does not exist, the MDT reports the following on the console:

No entry for user <id> 

These don't represent a problem within Lustre and do not warrant a warning on the console.



 Comments   
Comment by Olaf Faaland [ 25/Mar/21 ]

I have a patch that just turns those cases into CDEBUG entries instead of CWARNs.

Comment by Gerrit Updater [ 25/Mar/21 ]

Olaf Faaland-LLNL (faaland1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/43125
Subject: LU-14553 changelog: eliminate mdd_changelog_clear warning
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: dabd0fce7310c79742de59adf8cbfa6158f671b0

Comment by Gerrit Updater [ 05/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43125/
Subject: LU-14553 changelog: eliminate mdd_changelog_clear warning
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6b183927e19715d093c80a35ebc42a1cda5e70e2

Comment by Peter Jones [ 05/May/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 05/May/21 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43555
Subject: LU-14553 changelog: eliminate mdd_changelog_clear warning
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 99a4bf7826e03d69173b9ee4df89ef97497d9983

Comment by Gerrit Updater [ 29/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43555/
Subject: LU-14553 changelog: eliminate mdd_changelog_clear warning
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 294548a5deaf99672e010c54d606d02d8cbc4bc9

Comment by Gerrit Updater [ 07/Jul/21 ]

Gian-Carlo DeFazio (defazio1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/44172
Subject: LU-14553 changelog: eliminate mdd_changelog_clear warning
Project: fs/lustre-release
Branch: b2_14
Current Patch Set: 1
Commit: 0bfe92e238674d98f7951346ce6cdd707744a64a

Comment by Gerrit Updater [ 09/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44172/
Subject: LU-14553 changelog: eliminate mdd_changelog_clear warning
Project: fs/lustre-release
Branch: b2_14
Current Patch Set:
Commit: 76c6ad03369b9c38ecdc12e5290ea20b139389a5

Generated at Sat Feb 10 03:10:45 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.