In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces which collections are included in RecoveryQueue. It is very detailed and has a certain reference value. Friends who are interested must read it!
RecoveryQueue contains three collections: file_recover_queue (saving CInode collections for recover operations), file_recover_queue_front (saving CInode collections for recover operations), and file_recovering (saving CInode collections for ongoing recover operations). A Filter class that is used to perform the actual recover operation.
RecoveryQueue::prioritize ()
| | _ _ the CInode of the recover to be performed is already in the file_recovering collection |
| | _ _ return directly |
| | _ _ the CInode of the recover to be performed is already in the file_recover_queue collection |
| | _ _ insert CInode into the file_recover_queue_front collection |
RecoveryQueue::enqueue ()
| | _ _ insert CInode to be recover into the file_recover_queue collection |
RecoveryQueue::advance ()
| | _ _ check whether the size of the file_recovering collection is drizzle mds_max_file_recover |
| | _ _ get the CInode to be recover from the file_recover_queue_front collection |
| | _ RecoveryQueue::_start () |
| | _ _ get the CInode to be recover from the file_recover_queue collection |
| | _ RecoveryQueue::_start () |
RecoveryQueue::_start ()
| | _ _ get projected inode information from CInode |
| | _ _ insert CInode into the file_recovering collection |
| | _ _ create a C_MDC_Recover class object, which executes the RecoveryQueue::_recovered () callback function in the finish () function |
| | _ _ Filter::probe () calls the probe () function of Filter to perform the actual Recovery operation and calls the C_MDC_Recover::finish () function after the execution is completed |
RecoveryQueue::_recovered ()
| | _ _ delete the recovered CInode from the file_recovering collection |
| | _ CInode::state_clear (STATE_RECOVERING) |
| | _ _ RecoveryQueue::advance () finds the CInode of the next recovery to be executed |
The above is all the contents of the article "what collections does RecoveryQueue contain". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow 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.