In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Xiaobian to share with you how to use MDCache in MDS to discover, I believe most people still do not know how to use it, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
The discovery sender creates an MDiscovery message by calling the_send_discover() function, and then sends the message to the destination MDS process. discover finds base inode, Dir, Dentry, and Dentry::linkage.
The discovery receiver processes MDiscovery messages by calling handle_discover(). In this function, CInode information corresponding to base inode, CDIR information corresponding to Dir, CDentry information corresponding to Dentry, and CInode information of Inode corresponding to Dentry::linkage are respectively filled into the MDiscoverReply type message by analyzing fields in the MDiscoverReply type message. Finally, the MDiscoverReply message is sent back to the discovery sender.
The discovery sender handles the discovery reply message MDiscoverReply by calling the handle_discover_reply() function. In this function, the Inode information corresponding to base inode, Dir, Dentry and Dentry::linkage is parsed respectively, and finally the corresponding information is added to MDCache.
The above is "MDS MDCache how to use discovery" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.