CN108880906A - A kind of fault recovery method of Metadata Service, server, client and system - Google Patents
A kind of fault recovery method of Metadata Service, server, client and system Download PDFInfo
- Publication number
- CN108880906A CN108880906A CN201810736730.6A CN201810736730A CN108880906A CN 108880906 A CN108880906 A CN 108880906A CN 201810736730 A CN201810736730 A CN 201810736730A CN 108880906 A CN108880906 A CN 108880906A
- Authority
- CN
- China
- Prior art keywords
- metadata service
- inode information
- client
- spare
- fault recovery
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of fault recovery method of Metadata Service, server, client and system, the step of this method, includes:When the Metadata Service with client communication breaks down, the inode information that each client caches in advance is obtained by spare Metadata Service;The target inode information with preset mark is chosen in inode information;Respectively according to the corresponding configuration data of each target inode information searching, and spare Metadata Service is loaded onto replace the work of Metadata Service, realize fault recovery.This method relative reduction time overhead of fault recovery, and shorten spare Metadata Service can not normal response data access request duration, ensure that the working efficiency and user experience of data-storage system.In addition, the present invention also provides a kind of server, client and system, beneficial effect is same as above.
Description
Technical field
The present invention relates to field of data storage, more particularly to a kind of fault recovery method of Metadata Service, server,
Client and system.
Background technique
Metadata is " data about data ", i.e., the description as described in data stores the information about data, is user
More easily retrieval data information provides help.
With the arrival of big data era, it is often stored with mass data in the current data-storage system of enterprise, is
More improve user for the acquisition efficiency and accuracy of data in data-storage system, in data-storage system often
It has been previously run Metadata Service, it is logical first when client initiates the access request to target data to data-storage system
It crosses Metadata Service to parse access request, disk position locating for target data is sent to client according to client demand
The index information (inode) set, so client to index information carry out caching and according to the index information disk correspondence
Target data required for address obtains.Under current application scene, in order to improve the robustness of Metadata Service, often preset
There is spare Metadata Service, when Metadata Service breaks down, spare Metadata Service, which obtains, to be cached in each client
Whole index informations, and corresponding configuration data is obtained in disk according to the content of index information and is loaded, so that spare
The current state of Metadata Service and the state consistency before Metadata Service failure, and then the work of Metadata Service is replaced completely
Make.But due in the caching of client often doped with using the index information finished, spare metadata clothes
It is engaged in that index informations whole in client are all carried out loading the time overhead that will definitely increase fault recovery, and since failure is extensive
During multiple spare Metadata Service can not the data access request initiated of normal response client, therefore when longer fault recovery
Between the working efficiency and user experience of data-storage system can be impacted.
It can be seen that a kind of fault recovery method of Metadata Service is provided, to reduce the time overhead of fault recovery, into
And the opposite working efficiency and user experience for guaranteeing data-storage system, it is those skilled in the art's urgent problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of fault recovery method of Metadata Service, server, client and system, with
Reduce the time overhead of fault recovery, and then the opposite working efficiency and user experience for guaranteeing data-storage system.
In order to solve the above technical problems, the present invention provides a kind of fault recovery method of Metadata Service, it is applied to service
Device, including:
When the Metadata Service with client communication breaks down, it is pre- that each client is obtained by spare Metadata Service
The inode information first cached;
The target inode information with preset mark is chosen in inode information;Wherein, preset mark characterizes client
Not yet complete the use to target inode information;
Respectively according to the corresponding configuration data of each target inode information searching, and spare Metadata Service is loaded into generation
For the work of Metadata Service, fault recovery is realized.
Preferably, obtaining the inode information that each client caches in advance by spare Metadata Service is specially:
Each inode information is obtained by the communication connection that spare Metadata Service and client pre-establish.
Preferably, the quantity of spare Metadata Service is greater than 1.
Preferably, after respectively according to the corresponding configuration data of each target inode information searching, this method is further wrapped
It includes:
Configuration data is recorded into log.
In addition, the present invention also provides a kind of servers, including:
Index obtains module, for passing through spare metadata when the Metadata Service with client communication breaks down
The inode information that each client of service acquisition caches in advance;
Index chooses module, for choosing the target inode information with preset mark in inode information;Wherein, in advance
Bidding note characterization client not yet completes the use to target inode information;
Data configuration module is used for respectively according to the corresponding configuration data of each target inode information searching, and is loaded onto standby
The work that Metadata Service is replaced with Metadata Service, realizes fault recovery.
In addition, it is applied to client the present invention also provides a kind of fault recovery method of Metadata Service, including:
The inode information cached in advance is obtained, and preset mark is arranged to the target inode information for not yet completing to use;
When establishing with itself has the Metadata Service of communication connection to break down, each inode information is sent to spare
Metadata Service realizes fault recovery to respond inode information by spare Metadata Service.
In addition, the present invention also provides a kind of clients, which is characterized in that including:
Setup module is obtained, for obtaining the inode information cached in advance, and to the target inode for not yet completing to use
Preset mark is arranged in information;
Index sending module, for when with itself establish there is the Metadata Service of communication connection to break down when, will be each
Inode information is sent to spare Metadata Service, to respond inode information by spare Metadata Service, realizes fault recovery.
In addition, the present invention also provides a kind of fault recovery systems of Metadata Service, including:
Server, for being obtained by spare Metadata Service when the Metadata Service with client communication breaks down
The inode information for taking each client to cache in advance;The target inode information with preset mark is chosen in inode information;Its
In, preset mark characterization client not yet completes the use to target inode information;It is looked into respectively according to each target inode information
Corresponding configuration data is looked for, and is loaded onto spare Metadata Service to replace the work of Metadata Service, realizes fault recovery;
Client is set for obtaining the inode information cached in advance, and to the target inode information for not yet completing to use
Set preset mark;;When establishing with itself has the Metadata Service of communication connection to break down, each inode information is sent to
Spare Metadata Service realizes fault recovery to respond inode information by spare Metadata Service.
The fault recovery method of Metadata Service provided by the present invention not yet completes use in advance in inode information
Target inode information be arranged preset mark, when the Metadata Service for establishing connection with client breaks down, control it is spare
Metadata Service obtains the whole inode information sent by client, and then only chooses in inode information with preset mark
Target inode information, and corresponding configuration data is obtained to be loaded onto spare member according to the preset mark in target inode information
Data service, and then make spare Metadata Service alternative metadata service, complete fault recovery.This method is to spare metadata
When service is carried out using preceding load, configuration data corresponding to the inode information for being not yet used by the client and finishing, phase are only loaded
Than all being loaded in the whole index informations cached to client, the relative reduction loading capacity of data, therefore this method
The relative reduction time overhead of fault recovery, and shorten spare Metadata Service can not normal response data access request
Duration, ensure that the working efficiency and user experience of data-storage system.In addition, the present invention also provides a kind of server,
Client and system, beneficial effect are same as above.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below
It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people
For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of stream of the fault recovery method of the Metadata Service applied to server provided in an embodiment of the present invention
Cheng Tu;
Fig. 2 is a kind of structure chart of server provided in an embodiment of the present invention;
Fig. 3 is a kind of stream of the fault recovery method of the Metadata Service applied to client provided in an embodiment of the present invention
Cheng Tu;
Fig. 4 is a kind of structure chart of client provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other
Embodiment belongs to the scope of the present invention.
Core of the invention is to provide a kind of fault recovery method of Metadata Service, is opened with reducing the time of fault recovery
Pin, and then the opposite working efficiency and user experience for guaranteeing data-storage system.Another core of the invention is to provide one kind
Server, client and system.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Embodiment one
Fig. 1 is a kind of stream of the fault recovery method of the Metadata Service applied to server provided in an embodiment of the present invention
Cheng Tu.Referring to FIG. 1, the specific steps for being applied to the fault recovery method of the Metadata Service of server include:
Step S10:When the Metadata Service with client communication breaks down, obtained by spare Metadata Service each
The inode information that client caches in advance.
It should be noted that when client and Metadata Service interact, client is initiated pair to Metadata Service
The operation requests of target data, and then target metadata is provided according to the position phase client that target data is stored in disk
Corresponding inode information, client can be cached and be used to inode information.Since spare Metadata Service replaces first number
Premise according to service is that spare Metadata Service can be in identical working condition with the Metadata Service before failure, therefore need
The content load that spare Metadata Service is carried out according to the inode information that client caches in advance, so that spare metadata takes
Business can reach the working condition of Metadata Service, can continue to interact with client.
Step S11:The target inode information with preset mark is chosen in inode information.
Wherein, preset mark characterization client not yet completes the use to target inode information.
There is the target inode information for being pre-arranged preset mark in inode information, preset mark is to discriminate between
Whether inode information is used by the client the mark finished, and signified client is not yet completed to target inode information herein
It uses, specifically should include:Caused by as Metadata Service failure, target inode information but not is used in client
The case where the case where completing the use to target inode information and client not yet begin to use target inode information.It needs
It is noted that inode information can have differences the operation content difference of data in Metadata Service according to client,
And it can learn that client needs to be implemented the data address and operation content of data manipulation according to inode information.
As a preferred embodiment, including client in preset mark in this step to target inode information
The operation content not yet completed, in order to intuitively can efficiently be learned client to target according to preset mark in subsequent user
The operation that inode information is not yet completed.It should be noted that operation content signified in the application can specifically include reading behaviour
Work, write operation, delete operation etc., are not specifically limited herein.It is clear that, for Metadata Service, realize client
Each operation to inode information is held, is required to load corresponding configuration data.
Step S12:Respectively according to the corresponding configuration data of each target inode information searching, and it is loaded onto spare metadata
Service realizes fault recovery with the work of replacement Metadata Service.
It is understood that this step is to search corresponding configuration data in data pool simultaneously according to target inode information
It is loaded onto spare Metadata Service, and then after spare Metadata Service has loaded configuration data, can be realized and client
It interacts, is equivalent to instead of the Metadata Service to break down, fault recovery is realized with this.In addition, configuration data is preparatory
It is stored in the data pool with server communication, and data pool is in the nature physical storage medium, the effect of Metadata Service is
Related statement is carried out to the data in data pool, client initiates the access and behaviour to data in data pool by Metadata Service
Making can be more efficiently and accurate, is content known to those skilled in the art due to obtaining data in physical storage medium,
Therefore this will not be repeated here.
The fault recovery method of Metadata Service provided by the present invention not yet completes use in advance in inode information
Target inode information be arranged preset mark, when the Metadata Service for establishing connection with client breaks down, control it is spare
Metadata Service obtains the whole inode information sent by client, and then only chooses in inode information with preset mark
Target inode information, and corresponding configuration data is obtained to be loaded onto spare member according to the preset mark in target inode information
Data service, and then make spare Metadata Service alternative metadata service, complete fault recovery.This method is to spare metadata
When service is carried out using preceding load, configuration data corresponding to the inode information for being not yet used by the client and finishing, phase are only loaded
Than all being loaded in the whole index informations cached to client, the relative reduction loading capacity of data, therefore this method
The relative reduction time overhead of fault recovery, and shorten spare Metadata Service can not normal response data access request
Duration, ensure that the working efficiency and user experience of data-storage system.
Embodiment two
On the basis of the above embodiments, the present invention also provides a series of preferred embodiments.
As a preferred embodiment, obtaining the inode that each client caches in advance by spare Metadata Service
Information is specially:
Each inode information is obtained by the communication connection that spare Metadata Service and client pre-establish.
" three-way handshake " for generally requiring progress TCP/IP due to establishing communication connection between Metadata Service and client,
Regular hour expense certainly will be will cause, therefore resettle spare member when the Metadata Service with client communication breaks down
Communication connection between data service and client can reduce the whole efficiency of fault recovery.Therefore present embodiment is built in advance
The communication connection between spare Metadata Service and client is stood, and then when the Metadata Service with client communication breaks down
When, the communication connection can be enabled immediately, avoided and re-established client and the communication connection of spare Metadata Service is made
At overall time expense.
In addition, as a preferred embodiment, the quantity of spare Metadata Service is greater than 1.
The case where being also likely to be present failure in view of spare Metadata Service, therefore in order to guarantee the reliable of spare metadata
Property, the quantity of the spare Metadata Service in present embodiment is greater than 1, further increases Metadata Service overall work with this
Reliability can have more spare Metadata Service optional when there is Metadata Service failure, ensure that spare metadata clothes
The robustness of business.
In addition, as a preferred embodiment, respectively according to the corresponding configuration number of each target inode information searching
According to rear, this method further comprises:
Configuration data is recorded into log.
It is understood that it is possible that the feelings of loading error when due to spare Metadata Service load configuration data
Condition, therefore user needs to analyze error reason, and in present embodiment, configuration data is recorded to log, standby
When the error occurs with Metadata Service load configuration data, user can by searching for configuration data corresponding in log, with into
Row mistake investigation and related optimization, the opposite global reliability for improving Metadata Service failover procedure.
Embodiment three
Hereinbefore carried out in detail for being applied to the embodiment of the fault recovery method of the Metadata Service of server
Description, the present invention also provides a kind of servers corresponding with this method, embodiment and method part due to server section
Embodiment correspond to each other, therefore the embodiment of server section refers to the description of the embodiment of method part, here wouldn't
It repeats.
Fig. 2 is a kind of structure chart of server provided in an embodiment of the present invention.Server provided in an embodiment of the present invention, packet
It includes:
Index obtains module 10, for passing through spare first number when the Metadata Service with client communication breaks down
The inode information cached in advance according to each client of service acquisition.
Index chooses module 11, for choosing the target inode information with preset mark in inode information;Wherein,
Preset mark characterization client not yet completes the use to target inode information.
Data configuration module 12 is used for respectively according to the corresponding configuration data of each target inode information searching, and is loaded onto
Spare Metadata Service realizes fault recovery with the work of replacement Metadata Service.
Server provided by the present invention controls standby when the Metadata Service for establishing connection with client breaks down
The whole inode information sent by client are obtained with Metadata Service, and then are only chosen in inode information with preset mark
Target inode information, and it is spare to be loaded onto according to the preset mark in target inode information to obtain corresponding configuration data
Metadata Service, and then make spare Metadata Service alternative metadata service, complete fault recovery.Book server is to spare member
When data service is carried out using preceding load, configuration number corresponding to the inode information for being not yet used by the client and finishing only is loaded
According to, it all loads compared to the whole index informations cached to client, the relative reduction loading capacity of data, therefore this
The server relative reduction time overhead of fault recovery, and shorten spare Metadata Service can not normal response data visit
The duration for asking request ensure that the working efficiency and user experience of data-storage system.
Example IV
Fig. 3 is a kind of stream of the fault recovery method of the Metadata Service applied to client provided in an embodiment of the present invention
Cheng Tu.Referring to FIG. 3, the specific steps for being applied to the fault recovery method of the Metadata Service of client include:
Step S30:The inode information cached in advance is obtained, and the target inode information for not yet completing to use is arranged pre-
Bidding note.
It wherein, include the operation content not yet completed to target inode information in preset mark.
It is understood that client includes not yet to complete for the target inode information setting for not yet completing to use
Operation content preset mark, a certain operation content of client is not yet completed to characterize target inode.
Step S31:When establishing with itself has the Metadata Service of communication connection to break down, each inode information is sent out
It send to spare Metadata Service, to respond inode information by spare Metadata Service, realizes fault recovery.
Herein signified each inode information be server end got by spare Metadata Service it is pre- by client
The inode information first cached.It is understood that client is by being arranged preset mark to inode information to inform spare member
The data service inode information is not used or does not complete and uses, and then spare Metadata Service is sent by customer in response end
Inode information selectively carries out the acquisition and load of configuration data, finally realizes fault recovery.
Embodiment five
Hereinbefore carried out in detail for being applied to the embodiment of the fault recovery method of the Metadata Service of client
Description, the present invention also provides a kind of clients corresponding with this method, embodiment and method part due to client part
Embodiment correspond to each other, therefore the embodiment of client part refers to the description of the embodiment of method part, here wouldn't
It repeats.
Fig. 4 is a kind of structure chart of client provided in an embodiment of the present invention.Client provided in an embodiment of the present invention, packet
It includes:
Setup module 40 is obtained, for obtaining the inode information cached in advance, and to the target for not yet completing to use
Preset mark is arranged in inode information;It wherein, include the operation content not yet completed to target inode information in preset mark.
Index sending module 41, for when with itself establish there is the Metadata Service of communication connection to break down when, will be each
Inode information is sent to spare Metadata Service, to respond inode information by spare Metadata Service, realizes fault recovery.
In addition, the present invention also provides a kind of fault recovery systems of Metadata Service, including:
Server, for being obtained by spare Metadata Service when the Metadata Service with client communication breaks down
The inode information for taking each client to cache in advance;The target inode information with preset mark is chosen in inode information;Its
In, preset mark characterization client not yet completes the use to target inode information;It is looked into respectively according to each target inode information
Corresponding configuration data is looked for, and is loaded onto spare Metadata Service to replace the work of Metadata Service, realizes fault recovery;
Client is set for obtaining the inode information cached in advance, and to the target inode information for not yet completing to use
Set preset mark;It wherein, include the operation content not yet completed to target inode information in preset mark;It is built when with itself
It is vertical when thering is the Metadata Service of communication connection to break down, each inode information is sent to spare Metadata Service, by standby
Inode information is responded with Metadata Service, realizes fault recovery.
The fault recovery system of Metadata Service provided by the present invention, client are not yet complete in advance in inode information
Preset mark is set at the target inode information used, when the Metadata Service for establishing connection in server with client occurs
When failure, controls spare Metadata Service and obtain the whole inode information sent by client, and then only selected in inode information
The target inode information with preset mark is taken, and corresponding configuration number is obtained according to the preset mark in target inode information
It is loaded onto spare Metadata Service accordingly, and then makes spare Metadata Service alternative metadata service, completes fault recovery.This is
System only loads the inode information institute for being not yet used by the client and finishing when carrying out spare Metadata Service using preceding load
Corresponding configuration data all loads compared to the whole index informations cached to client, relative reduction data
Loading capacity, therefore this system relative reduction time overhead of fault recovery, and shorten spare Metadata Service can not be just
The duration of normal response data access request, ensure that the working efficiency and user experience of data-storage system.
Above to a kind of fault recovery method of Metadata Service provided by the present invention, server, client and system
It is described in detail.Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are
With the difference of other embodiments, the same or similar parts in each embodiment may refer to each other.Embodiment is disclosed
Device for, since it is corresponded to the methods disclosed in the examples, so be described relatively simple, related place is referring to method
Part illustrates.It should be pointed out that for those skilled in the art, before not departing from the principle of the invention
It puts, can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the guarantor of the claims in the present invention
It protects in range.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (8)
1. a kind of fault recovery method of Metadata Service, which is characterized in that it is applied to server, including:
When the Metadata Service with client communication breaks down, it is pre- that each client is obtained by spare Metadata Service
The inode information first cached;
The target inode information with preset mark is chosen in the inode information;Wherein, the preset mark characterizes institute
It states client and not yet completes use to the target inode information;
Respectively according to the corresponding configuration data of each target inode information searching, and it is loaded onto the spare Metadata Service
To replace the work of the Metadata Service, fault recovery is realized.
2. the method according to claim 1, wherein described obtain each client by spare Metadata Service
The inode information that caches in advance is held to be specially:
Each inode information is obtained by the communication connection that the spare Metadata Service and the client pre-establish.
3. the method according to claim 1, wherein the quantity of the spare Metadata Service is greater than 1.
4. method according to claim 1 to 3, which is characterized in that described respectively according to each target
After the corresponding configuration data of inode information searching, this method further comprises:
The configuration data is recorded into log.
5. a kind of server, which is characterized in that including:
Index obtains module, for passing through spare Metadata Service when the Metadata Service with client communication breaks down
Obtain the inode information that each client caches in advance;
Index chooses module, for choosing the target inode information with preset mark in the inode information;Wherein, institute
It states preset mark and characterizes the client and not yet complete use to the target inode information;
Data configuration module for respectively according to the corresponding configuration data of each target inode information searching, and is loaded onto institute
Spare Metadata Service is stated to replace the work of the Metadata Service, realizes fault recovery.
6. a kind of fault recovery method of Metadata Service, which is characterized in that it is applied to client, including:
The inode information cached in advance is obtained, and preset mark is arranged to the target inode information for not yet completing to use;
When establishing with itself has the Metadata Service of communication connection to break down, each inode information is sent to spare
Metadata Service realizes fault recovery to respond the inode information by the spare Metadata Service.
7. a kind of client, which is characterized in that including:
Setup module is obtained, for obtaining the inode information cached in advance, and to the target inode information for not yet completing to use
Preset mark is set;
Index sending module, for when with itself establish there is the Metadata Service of communication connection to break down when, will it is each described in
Inode information is sent to spare Metadata Service, to respond the inode information by the spare Metadata Service, realizes
Fault recovery.
8. a kind of fault recovery system of Metadata Service, which is characterized in that including:
Server, for being obtained by spare Metadata Service each when the Metadata Service with client communication breaks down
The inode information that the client caches in advance;Choosing in the inode information, there is the target inode of preset mark to believe
Breath;Wherein, the preset mark characterizes the client and not yet completes use to the target inode information;Basis respectively
The corresponding configuration data of each target inode information searching, and the spare Metadata Service is loaded onto replace the member
Fault recovery is realized in the work of data service;
Client for obtaining the inode information cached in advance, and is arranged the target inode information for not yet completing to use pre-
Bidding note;When establishing with itself has the Metadata Service of communication connection to break down, each inode information is sent to standby
Fault recovery is realized with Metadata Service to respond the inode information by the spare Metadata Service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810736730.6A CN108880906A (en) | 2018-07-06 | 2018-07-06 | A kind of fault recovery method of Metadata Service, server, client and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810736730.6A CN108880906A (en) | 2018-07-06 | 2018-07-06 | A kind of fault recovery method of Metadata Service, server, client and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108880906A true CN108880906A (en) | 2018-11-23 |
Family
ID=64299434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810736730.6A Withdrawn CN108880906A (en) | 2018-07-06 | 2018-07-06 | A kind of fault recovery method of Metadata Service, server, client and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108880906A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669814A (en) * | 2018-12-10 | 2019-04-23 | 浪潮(北京)电子信息产业有限公司 | A kind of restoration methods of Metadata Service, device, equipment and readable storage medium storing program for executing |
CN111984592A (en) * | 2020-08-28 | 2020-11-24 | 苏州浪潮智能科技有限公司 | Method and system for delaying synchronous recovery of metadata operation authority information |
CN113012412A (en) * | 2021-03-03 | 2021-06-22 | 福建碧霞环保科技有限公司 | Intelligent data acquisition method and system based on dynamic acquisition statistical analysis of instrument and video data |
CN113535073A (en) * | 2020-04-22 | 2021-10-22 | 伊姆西Ip控股有限责任公司 | Method for managing storage unit, electronic device and computer program product |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101577735A (en) * | 2009-06-24 | 2009-11-11 | 成都市华为赛门铁克科技有限公司 | Method, device and system for taking over fault metadata server |
US20160350004A1 (en) * | 2015-05-27 | 2016-12-01 | Pure Storage, Inc. | Parallel update to nvram |
CN108900337A (en) * | 2018-06-29 | 2018-11-27 | 郑州云海信息技术有限公司 | A kind of fault recovery method of Metadata Service, server, client and system |
-
2018
- 2018-07-06 CN CN201810736730.6A patent/CN108880906A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101577735A (en) * | 2009-06-24 | 2009-11-11 | 成都市华为赛门铁克科技有限公司 | Method, device and system for taking over fault metadata server |
US20160350004A1 (en) * | 2015-05-27 | 2016-12-01 | Pure Storage, Inc. | Parallel update to nvram |
CN108900337A (en) * | 2018-06-29 | 2018-11-27 | 郑州云海信息技术有限公司 | A kind of fault recovery method of Metadata Service, server, client and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669814A (en) * | 2018-12-10 | 2019-04-23 | 浪潮(北京)电子信息产业有限公司 | A kind of restoration methods of Metadata Service, device, equipment and readable storage medium storing program for executing |
CN113535073A (en) * | 2020-04-22 | 2021-10-22 | 伊姆西Ip控股有限责任公司 | Method for managing storage unit, electronic device and computer program product |
CN113535073B (en) * | 2020-04-22 | 2024-04-16 | 伊姆西Ip控股有限责任公司 | Method for managing storage unit, electronic device and computer readable storage medium |
CN111984592A (en) * | 2020-08-28 | 2020-11-24 | 苏州浪潮智能科技有限公司 | Method and system for delaying synchronous recovery of metadata operation authority information |
CN113012412A (en) * | 2021-03-03 | 2021-06-22 | 福建碧霞环保科技有限公司 | Intelligent data acquisition method and system based on dynamic acquisition statistical analysis of instrument and video data |
CN113012412B (en) * | 2021-03-03 | 2022-10-18 | 福建鸿鹄环境发展有限公司 | Intelligent data acquisition method and system based on dynamic acquisition statistical analysis of instrument and video data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108880906A (en) | A kind of fault recovery method of Metadata Service, server, client and system | |
CN105930228B (en) | Data back up method and system | |
CN106156289A (en) | The method of the data in a kind of read-write object storage system and device | |
CN102611745B (en) | On-line file moving method, device and system | |
US8589353B2 (en) | Method for backing up terminal data and system thereof | |
US11474910B2 (en) | Method, device and computer program product to backup data | |
CN105407117B (en) | The methods, devices and systems of distributed backup data | |
CN105975358B (en) | A kind of fault-tolerance approach and system based on scsi device | |
CN101808127B (en) | Data backup method, system and server | |
RU2013126471A (en) | ENSURING TRANSPARENT FAILURE OPERATION IN A FILE SYSTEM | |
CN103780417B (en) | A kind of database failure transfer method and device based on cloud hard disk | |
CN104378423A (en) | Metadata cluster distribution storage system and storage data reading and writing method | |
CN103530388A (en) | Performance improving data processing method in cloud storage system | |
CN109120709A (en) | A kind of caching method, device, equipment and medium | |
US10452680B1 (en) | Catch-up replication with log peer | |
CN108900337A (en) | A kind of fault recovery method of Metadata Service, server, client and system | |
CN109474459A (en) | Domain name configuring management method, device, computer equipment and storage medium | |
WO2018157605A1 (en) | Message transmission method and device in cluster file system | |
CN110489274A (en) | Data back up method, device and interactive system | |
CN105740049B (en) | A kind of control method and device | |
US20220358106A1 (en) | Proxy-based database scaling | |
US11341159B2 (en) | In-stream data load in a replication environment | |
CN105426125B (en) | A kind of date storage method and device | |
CN103714089A (en) | Method and system of rolling back cloud database | |
CN103384267A (en) | Parastor200 parallel storage management node high availability method based on distributed block device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181123 |
|
WW01 | Invention patent application withdrawn after publication |