huangzhaobo99 commented on code in PR #6656:
URL: https://github.com/apache/hadoop/pull/6656#discussion_r1536571168
##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java:
##########
@@ -8713,7 +8714,7 @@ void removeXAttr(String src, XAttr xAttr, boolean
logRetryCache)
@Override
public void removeXattr(long id, String xattrName) throws IOException {
- writeLock();
+ writeLock(FSNamesystemLockMode.FS);
Review Comment:
Hi @ZanderXu sir, removeXAttr RPC seems unrelated to PR title.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]