Method, device, system and equipment for metadata migration
A metadata and technology to be migrated, applied in the computer field, can solve the problems of low efficiency, time-consuming, and uneven data volume of migration tasks, etc., and achieve the effect of improving overall work efficiency and shortening the time spent
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Such as figure 1 As shown, the embodiment of the present application provides a method for metadata migration. The execution subject of the method may be a master server (also called a Master server) that controls metadata migration. The master server controls multiple execution servers (also It is called the Work server), and performs metadata migration between multiple metadata server groups to balance the load of each metadata server group. The method specifically may include the following steps:
[0038] Step S101: Determine the entries to be migrated in the directory to be migrated.
[0039] Wherein, the directory to be migrated may be a directory where metadata migration needs to be performed, that is, a directory where metadata to be migrated is located. Metadata can be information used to describe data attributes, and is often used to support functions such as indicating the storage location of data, searching for historical data or resources, and document rec...
Embodiment 2
[0053] The embodiment of the present application provides a metadata migration method. The execution body of the method can be a master server. The master server performs metadata migration among multiple metadata server groups by controlling multiple execution servers, so as to balance the The load on the metadata server group. The method specifically may include the following steps:
[0054] The processing manner of S101 in the first embodiment above may be varied, and a specific processing manner is provided below, which may include the following steps S201 to S203.
[0055] In step S201: traverse from the root directory of the directory tree where the directory to be migrated is located, and record the currently traversed entry identifier during the traverse process.
[0056] Among them, the entry can include directories and files, where the directories can include root directories and subdirectories, and the root directory can be the top-level directory where files are s...
Embodiment 3
[0104] The above is the metadata migration method provided by the embodiment of the present application. Based on the same idea, the embodiment of the present application also provides a metadata migration device, such as Figure 4 shown.
[0105] The metadata migration device includes: an item to be migrated determination module 401, a migration task generation module 402, and a migration task assignment module 403, wherein:
[0106] The item to be migrated determination module 401 is used to determine the item to be migrated in the directory to be migrated;
[0107] A migration task generating module 402, configured to generate a migration task according to the number of data blocks corresponding to the entry to be migrated, and divide the entry to be migrated for the migration task;
[0108] The migration task allocation module 403 is configured to allocate the migration task to an execution server to perform metadata migration on the item to be migrated.
[0109] In the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com