CN118035200A - Distributed file system metadata management method, device and equipment - Google Patents
Distributed file system metadata management method, device and equipment Download PDFInfo
- Publication number
- CN118035200A CN118035200A CN202410216204.2A CN202410216204A CN118035200A CN 118035200 A CN118035200 A CN 118035200A CN 202410216204 A CN202410216204 A CN 202410216204A CN 118035200 A CN118035200 A CN 118035200A
- Authority
- CN
- China
- Prior art keywords
- metadata
- file system
- directory
- distributed file
- modification time
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及计算机技术领域,尤其涉及一种分布式文件系统元数据管理方法、装置及设备。The present invention relates to the field of computer technology, and in particular to a distributed file system metadata management method, device and equipment.
背景技术Background technique
分布式文件系统(Distributed File System,DFS)通过高速网络将多个物理节点连接在一起,实现多节点资源的统一管理,并向用户提供了文件系统访问接口和统一的文件系统命名空间。分布式文件系统一般基于客户端/服务端(Client/Server)的模式而设计,客户端为应用程序提供标准的文件系统访问接口,服务器存储了文件系统中所有的数据与元数据。分布式文件系统一般采用数据与元数据分离的设计架构,文件数据存储在多台数据服务器上,文件元数据存储在单台或者是多台元数据服务器上。分布式文件系统具有节约成本、方便管理、扩展性好、可靠性强和可用性强等优势,如今已得到广泛应用。Distributed File System (DFS) connects multiple physical nodes together through a high-speed network to achieve unified management of multi-node resources, and provides users with a file system access interface and a unified file system namespace. Distributed file systems are generally designed based on the client/server model. The client provides a standard file system access interface for applications, and the server stores all data and metadata in the file system. Distributed file systems generally adopt a design architecture that separates data and metadata. File data is stored on multiple data servers, and file metadata is stored on a single or multiple metadata servers. Distributed file systems have the advantages of cost savings, easy management, good scalability, strong reliability and high availability, and have now been widely used.
为了支持元数据操作(也即元数据索引与元数据扫描),分布式文件系统需要在持久性介质(如磁盘、持久性内存等)上规定元数据的存储顺序。在现有技术中,一种方法是将元数据拆分为索引节点和目录项两部分,对元数据的索引需要先访问目录项再访问对应索引节点,这带来了间接索引的开销。另外一种方法是以元数据对应父目录的标识符与该元数据名称为键,以元数据本身为值,将元数据存放于有序键值存储中。维护键值存储内所有键值对的全序关系带来较高开销。In order to support metadata operations (i.e., metadata indexing and metadata scanning), the distributed file system needs to specify the storage order of metadata on persistent media (such as disks, persistent memory, etc.). In the prior art, one method is to split the metadata into two parts: index nodes and directory entries. To index the metadata, it is necessary to first access the directory entry and then access the corresponding index node, which brings the overhead of indirect indexing. Another method is to use the identifier of the parent directory corresponding to the metadata and the name of the metadata as the key, and the metadata itself as the value, and store the metadata in an ordered key-value storage. Maintaining the total order relationship of all key-value pairs in the key-value storage brings high overhead.
为了保证元数据操作的原子性和崩溃一致性,分布式文件系统需要对磁盘上元数据操作做定序更新以保证元数据服务器在发生崩溃后能够恢复到一致的状态。元数据创建、元数据删除和元数据重命名操作等多元数据操作需要修改多于1个元数据,所以对于这些操作而言,依赖硬件提供的单元数据修改原子性不能够保证整个操作的原子性。现有技术主要采用的方法为分布式事务。分布式事务的一个例子是:在执行元数据操作前,先对所有涉及到的元数据加锁,再将涉及到的所有更改写入写前日志中,再利用诸如两阶段提交等算法将元数据更改应用到目标元数据中。这个过程引入了额外的写前日志等开销,且逻辑较为复杂。In order to ensure the atomicity and crash consistency of metadata operations, the distributed file system needs to perform sequential updates on the metadata operations on the disk to ensure that the metadata server can be restored to a consistent state after a crash. Multi-data operations such as metadata creation, metadata deletion, and metadata rename operations require the modification of more than one metadata, so for these operations, relying on the atomicity of unit data modification provided by the hardware cannot guarantee the atomicity of the entire operation. The main method used in the prior art is distributed transactions. An example of a distributed transaction is: before performing a metadata operation, all metadata involved are locked, and then all changes involved are written to the write-ahead log, and then the metadata changes are applied to the target metadata using algorithms such as two-phase commit. This process introduces additional overhead such as write-ahead logs, and the logic is relatively complex.
发明内容Summary of the invention
本发明提供了一种分布式文件系统元数据管理方法、装置及设备,解决了元数据存储维护开销大、元数据操作开销大且逻辑复杂的问题。The present invention provides a distributed file system metadata management method, device and equipment, which solve the problems of high metadata storage and maintenance overhead, high metadata operation overhead and complex logic.
为了解决上述问题,本发明提出了一种分布式文件系统元数据管理方法,包括:In order to solve the above problems, the present invention proposes a distributed file system metadata management method, comprising:
分布式文件系统将元数据按照目录进行分组,对每个目录中的元数据以键值对的形式进行存储并进行逐目录结组;其中,目录内元数据按确定性顺序存储;所述确定性顺序不会随着数据属性的变化而变化;The distributed file system groups metadata by directory, stores metadata in each directory in the form of key-value pairs and groups them directory by directory; metadata in the directory is stored in a deterministic order; the deterministic order does not change with changes in data attributes;
分布式文件系统对元数据操作采用基于不变式的顺序更新。Distributed file systems use invariant-based sequential updates for metadata operations.
在本发明的一种实施例中,所述对每个目录中的元数据以键值对的形式进行存储并进行逐目录结组,具体包括:将每个目录中的单个元数据以键值对的形式进行存储,其中键包括父目录的标识符和元数据名称,值为元数据本身;将属于相同父目录的元数据在逻辑上结成一组。In one embodiment of the present invention, the metadata in each directory is stored in the form of key-value pairs and grouped directory by directory, specifically including: storing the individual metadata in each directory in the form of key-value pairs, wherein the key includes the identifier of the parent directory and the metadata name, and the value is the metadata itself; logically grouping the metadata belonging to the same parent directory.
在本发明的一种实施例中,所述不变式包括:A、在元数据操作中更新的父目录元数据与其子目录和子文件元数据存在依赖;B、重命名操作不会破坏元数据标识符的唯一性。In one embodiment of the present invention, the invariants include: A. the parent directory metadata updated in the metadata operation is dependent on its sub-directory and sub-file metadata; B. the renaming operation will not destroy the uniqueness of the metadata identifier.
在本发明的一种实施例中,对元数据操作采用基于不变式的顺序更新,具体包括:对于元数据创建操作:先创建目标元数据,确定目标元数据创建时间;再修改父目录的最后数据修改时间、最后元数据修改时间和硬链接数;当分布式文件系统出现异常时,将父目录的最后数据修改时间、最后元数据修改时间修改为目标元数据创建时间;将父目录的硬链接数修改为2+子目录数进行恢复。In one embodiment of the present invention, metadata operations are updated sequentially based on invariants, specifically including: for metadata creation operations: first create target metadata and determine the target metadata creation time; then modify the last data modification time, the last metadata modification time and the number of hard links of the parent directory; when an abnormality occurs in the distributed file system, modify the last data modification time and the last metadata modification time of the parent directory to the target metadata creation time; modify the number of hard links of the parent directory to 2 + the number of subdirectories for recovery.
在本发明的一种实施例中,对元数据操作采用基于不变式的顺序更新,具体包括:对于元数据删除操作:先将目标元数据标记为无效并记录所述目标元数据的删除时间,再修改父目录的最后数据修改时间、最后元数据修改时间和硬链接数,最后删除目标元数据;当分布式文件系统出现异常时,将父目录的最后数据修改时间、最后元数据修改时间修改为目标元数据删除时间;将父目录的硬链接数修改为2+子目录数;删除无效目标元数据以进行恢复。In one embodiment of the present invention, metadata operations are updated sequentially based on invariants, specifically including: for metadata deletion operations: first mark the target metadata as invalid and record the deletion time of the target metadata, then modify the last data modification time, the last metadata modification time and the number of hard links of the parent directory, and finally delete the target metadata; when an abnormality occurs in the distributed file system, modify the last data modification time and the last metadata modification time of the parent directory to the target metadata deletion time; modify the number of hard links of the parent directory to 2 + the number of subdirectories; delete the invalid target metadata for recovery.
在本发明的一种实施例中,对元数据操作采用基于不变式的顺序更新,具体包括:对于元数据重命名操作:先创建与旧元数据标识符相同的新元数据,然后将旧元数据标记为无效,最后修改旧元数据和新元数据的父目录的最后数据修改时间、最后元数据修改时间和硬链接数,并删除旧元数据;当分布式文件系统出现异常时,删除标识符重复的元数据与无效的元数据;将旧父目录的最后数据修改时间、最后元数据修改时间修改为旧元数据删除时间;将新父目录的最后数据修改时间、最后元数据修改时间修改为新元数据创建时间;将旧元数据和新元数据两个父目录的硬链接数修改为2+子目录数以进行恢复。In one embodiment of the present invention, metadata operations are updated sequentially based on invariants, specifically including: for metadata renaming operations: first create new metadata with the same identifier as the old metadata, then mark the old metadata as invalid, and finally modify the last data modification time, the last metadata modification time and the number of hard links of the parent directory of the old metadata and the new metadata, and delete the old metadata; when an abnormality occurs in the distributed file system, delete metadata with duplicate identifiers and invalid metadata; modify the last data modification time and the last metadata modification time of the old parent directory to the old metadata deletion time; modify the last data modification time and the last metadata modification time of the new parent directory to the new metadata creation time; modify the number of hard links of the two parent directories of the old metadata and the new metadata to 2+the number of subdirectories for recovery.
在本发明的一种实施例中,所述元数据包括目录元数据、文件元数据和硬链接元数据。In one embodiment of the present invention, the metadata includes directory metadata, file metadata and hard link metadata.
一种分布式文件系统元数据管理装置,包括:A distributed file system metadata management device, comprising:
元数据分组存储模块,用于将元数据按照目录进行分组,对每个目录中的元数据以键值对的形式进行存储并进行逐目录结组;其中,目录内元数据按确定性顺序存储;所述确定性顺序不会随着数据属性的变化而变化;The metadata grouping storage module is used to group the metadata according to the directory, store the metadata in each directory in the form of key-value pairs and group them directory by directory; wherein the metadata in the directory is stored in a deterministic order; the deterministic order will not change with the change of data attributes;
元数据操作更新模块,用于对元数据操作采用基于不变式的顺序更新。The metadata operation update module is used to update metadata operations sequentially based on invariants.
一种分布式文件系统元数据管理设备,包括:A distributed file system metadata management device, comprising:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通过总线通信连接的存储器;其中,A memory connected to the at least one processor via a bus; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被执行,以实现如上述各实施例任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed to implement the method described in any one of the above embodiments.
一种非易失性存储介质,存储有计算机可执行指令,所述计算机可执行指令由处理器执行,以实现如上述各实施例任一项所述的方法。A non-volatile storage medium stores computer executable instructions, wherein the computer executable instructions are executed by a processor to implement the method described in any one of the above embodiments.
本发明提供了一种分布式文件系统元数据管理方法、装置及设备,至少包括以下有益效果:通过逐目录结组、有序的键值存储和基于不变式的顺序更新策略,有效地提高了元数据管理的效率、优化了文件系统性能、简化了元数据管理的复杂性、增强了元数据的一致性和可靠性,为分布式文件系统提供了高效、稳定、可靠的元数据管理方法。The present invention provides a distributed file system metadata management method, device and equipment, which at least include the following beneficial effects: through directory-by-directory grouping, ordered key-value storage and a sequential update strategy based on invariants, the efficiency of metadata management is effectively improved, the file system performance is optimized, the complexity of metadata management is simplified, the consistency and reliability of metadata are enhanced, and an efficient, stable and reliable metadata management method is provided for a distributed file system.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
图1为本发明实施例提供的一种分布式文件系统元数据管理方法步骤示意图;FIG1 is a schematic diagram of steps of a distributed file system metadata management method provided by an embodiment of the present invention;
图2为本发明实施例提供的逐目录有序键值存储元数据的流程图;FIG2 is a flowchart of a directory-by-directory ordered key-value storage metadata according to an embodiment of the present invention;
图3为本发明实施例提供的执行目录元数据创建与删除操作的示意图;3 is a schematic diagram of performing directory metadata creation and deletion operations provided by an embodiment of the present invention;
图4为本发明实施例提供的执行目录元数据重命名操作的示意图;FIG4 is a schematic diagram of performing a directory metadata renaming operation provided by an embodiment of the present invention;
图5为本发明实施例提供的一种分布式文件系统元数据管理装置示意图;5 is a schematic diagram of a distributed file system metadata management device provided by an embodiment of the present invention;
图6为本发明实施例提供的一种分布式文件系统元数据管理设备示意图。FIG6 is a schematic diagram of a distributed file system metadata management device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例对本发明进行清楚、完整的描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be described clearly and completely in conjunction with the specific embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
需要说明的是,本领域普通技术人员显式地和隐式地理解的是,本发明所描述的实施例在不冲突的情况下,可以与其它实施例相结合。除非另作定义,本发明所涉及的技术术语或者科学术语应当为本发明所属技术领域内具有一般技能的人士所理解的通常意义。本发明所涉及的“一”、“一个”、“一种”、“该”等类似词语并不表示数量限制,可表示单数或复数。本发明所涉及的术语“包括”、“包含”、“具有”以及它们任何变形,意图在于覆盖不排他的包含;本发明所涉及的术语“第一”、“第二”、“第三”等仅仅是区别类似的对象,不代表针对对象的特定排序。It should be noted that it is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in the present invention can be combined with other embodiments without conflict. Unless otherwise defined, the technical terms or scientific terms involved in the present invention should be the usual meanings understood by people with ordinary skills in the technical field to which the present invention belongs. The words "one", "a", "a", "the" and the like involved in the present invention do not indicate a quantitative limitation and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in the present invention are intended to cover non-exclusive inclusions; the terms "first", "second", "third", etc. involved in the present invention are merely to distinguish similar objects and do not represent a specific ordering of objects.
在元数据操作中,元数据扫描操作不会在任意区间上发生,其只会在一个目录内发生,且其可以不按照字典序返回扫描得到的元数据。In metadata operations, metadata scanning operations do not occur on any interval, they only occur within a directory, and they may not return the scanned metadata in lexicographical order.
多元数据操作的个数有限,且其均在更新元数据时遵循两个元数据不变式:A、操作中更新的父目录元数据(最后数据块修改时间、最后元数据修改时间、硬链接数)与其子目录和子文件元数据存在依赖;B、重命名操作不会破坏元数据标识符(例如ID)的唯一性。The number of multivariate data operations is limited, and they all follow two metadata invariants when updating metadata: A. The parent directory metadata (last data block modification time, last metadata modification time, number of hard links) updated in the operation is dependent on its subdirectory and subfile metadata; B. The rename operation will not destroy the uniqueness of the metadata identifier (such as ID).
本发明基于上述两个原理提出了一种分布式文件系统元数据管理方法、装置及设备。下面进行具体说明。Based on the above two principles, the present invention proposes a distributed file system metadata management method, device and equipment, which are described in detail below.
图1为本发明实施例提供的一种分布式文件系统元数据管理方法的步骤示意图,图1所示的分布式文件系统元数据管理方法可以由分布式文件系统元数据管理装置执行,分布式文件系统元数据管理装置可以设置于服务器,例如,服务器可以为包含独立主机的物理服务器、主机集群承载的虚拟服务器、云服务器等,本发明实施例对此不作限定。该分布式文件系统元数据管理方法可以包括以下步骤:FIG1 is a schematic diagram of the steps of a distributed file system metadata management method provided by an embodiment of the present invention. The distributed file system metadata management method shown in FIG1 can be executed by a distributed file system metadata management device, and the distributed file system metadata management device can be set on a server. For example, the server can be a physical server including an independent host, a virtual server carried by a host cluster, a cloud server, etc., which is not limited by the embodiment of the present invention. The distributed file system metadata management method can include the following steps:
S110:分布式文件系统将元数据按照目录进行分组,对每个目录中的元数据以键值对的形式进行存储并进行逐目录结组。S110: The distributed file system groups the metadata according to directories, stores the metadata in each directory in the form of key-value pairs, and groups them directory by directory.
其中,目录内元数据按确定性顺序存储;确定性顺序不会随着数据属性的变化而变化。The metadata in the directory is stored in a deterministic order; the deterministic order does not change with changes in data attributes.
具体地,分布式文件系统采用逐目录结组并有序的键值存储系统存放元数据,目录间元数据无需保序,目录内元数据可以以字典序以外的顺序进行存储。Specifically, the distributed file system uses a key-value storage system that groups and orders each directory to store metadata. The metadata between directories does not need to be ordered, and the metadata within a directory can be stored in an order other than the lexicographic order.
在本发明的一种实施例中,元数据包括目录元数据、文件元数据和硬链接元数据。In one embodiment of the present invention, the metadata includes directory metadata, file metadata, and hard link metadata.
具体地,元数据主要包括三类,即目录元数据、文件元数据与硬链接元数据。下述“ID”指的是元数据的标识符,该标识符只需保证全局唯一属性即可,不一定以传统意义下的ID,即编号的形式出现。Specifically, metadata mainly includes three categories, namely directory metadata, file metadata and hard link metadata. The "ID" mentioned below refers to the identifier of metadata, which only needs to ensure global uniqueness and does not necessarily appear in the form of ID in the traditional sense, that is, number.
对于目录元数据和文件元数据而言,其信息包括但不局限于:元数据ID、其是否有效、元数据类型、元数据权限信息(包括用户ID、组ID和访问权限)、元数据时间戳信息(包括创建时间、删除时间、最后数据修改时间、最后访问时间和最后元数据修改时间)、元数据对应目录或文件大小、元数据对应硬链接数、元数据对应文件的块映射信息等。上述元数据信息可以根据实现方式不同增加或删除某些条目。For directory metadata and file metadata, the information includes but is not limited to: metadata ID, whether it is valid, metadata type, metadata permission information (including user ID, group ID and access rights), metadata timestamp information (including creation time, deletion time, last data modification time, last access time and last metadata modification time), metadata corresponding directory or file size, metadata corresponding hard link number, metadata corresponding file block mapping information, etc. The above metadata information may add or delete certain items according to different implementations.
硬链接元数据用于指向被硬链接的文件元数据。其信息包括元数据ID、其是否有效、元数据类型、以及其指向的文件元数据ID。The hard link metadata is used to point to the metadata of the file being hard linked. Its information includes the metadata ID, whether it is valid, the metadata type, and the metadata ID of the file it points to.
在本发明的一种实施例中,对每个目录中的元数据以键值对的形式进行存储并进行逐目录结组,具体包括:将每个目录中的单个元数据以键值对的形式进行存储,其中键包括父目录的标识符和元数据名称,值为元数据本身;将属于相同父目录的元数据在逻辑上结成一组。In one embodiment of the present invention, the metadata in each directory is stored in the form of key-value pairs and grouped directory by directory, specifically including: storing the individual metadata in each directory in the form of key-value pairs, wherein the key includes the identifier of the parent directory and the metadata name, and the value is the metadata itself; and logically grouping the metadata belonging to the same parent directory.
具体地,单个元数据以键值对的形式存放于键值存储系统中,其键包括父目录的ID和该元数据名称,其值为元数据本身。Specifically, a single metadata is stored in the key-value storage system in the form of a key-value pair, where the key includes the ID of the parent directory and the metadata name, and the value is the metadata itself.
属于相同父目录的元数据在逻辑上结成一组,其保证属于相同父目录,也即被结成一组的元数据的相对顺序。对于属于不同父目录的元数据,其可以被进一步结组,也可以不被进一步结组。其可以有序,也可以无序。Metadata belonging to the same parent directory are logically grouped together, which guarantees the relative order of metadata belonging to the same parent directory, i.e., grouped together. Metadata belonging to different parent directories may or may not be further grouped. They may be ordered or unordered.
属于相同父目录的元数据仅有逻辑上的组织关系,其在物理存储层面的组织关系不作要求。逻辑上的组织关系指的是,其支持对同一组内元数据以一定顺序进行扫描。本发明不对结成一组的元数据在存储位置层面具有约束。例如,其可以被分散到不同元数据服务器上。为了对称进行哈希计算得到哈希值(整数),按照该哈希值进行排序。这里的“确定性顺序”定义为:如果一个元数据具有键A,另一个元数据具有键B,那么在该顺序中,要么A<B,要么A>B,这一顺序不会随着数据结构本身规模等发生变化。The metadata belonging to the same parent directory only has a logical organizational relationship, and there is no requirement for its organizational relationship at the physical storage level. The logical organizational relationship means that it supports scanning the metadata in the same group in a certain order. The present invention does not have constraints on the storage location level of metadata grouped together. For example, it can be distributed to different metadata servers. In order to symmetrically perform hash calculations to obtain hash values (integers), they are sorted according to the hash values. The "deterministic order" here is defined as: if one metadata has key A and the other metadata has key B, then in this order, either A<B or A>B, and this order will not change with the scale of the data structure itself.
图2是本发明实施例的分布式文件系统元数据组织方法的流程图。FIG. 2 is a flow chart of a distributed file system metadata organization method according to an embodiment of the present invention.
具体而言,在图2中,目录间采用哈希表进行索引,该哈希表的键为目录标识符(可以为目录ID),值为该目录对应的有序树索引结构。该哈希表不保证目录间的有序性,也即,其不保证目录间键值对保持字典序等特定顺序。Specifically, in Figure 2, a hash table is used to index between directories, the key of which is a directory identifier (which can be a directory ID), and the value is an ordered tree index structure corresponding to the directory. The hash table does not guarantee the orderliness between directories, that is, it does not guarantee that the key-value pairs between directories maintain a specific order such as a lexicographic order.
每个目录具有一个有序树索引结构,存放其中元数据对应键值对。每个元数据键值对的键为元数据名称,值为其对应元数据。对每个目录内的有序树索引结构保证键值对间的哈希顺序,也即,将键输入已有的哈希函数计算哈希值后,按照得到的哈希值大小对键值对进行排序。Each directory has an ordered tree index structure that stores key-value pairs corresponding to the metadata. The key of each metadata key-value pair is the metadata name, and the value is the corresponding metadata. The ordered tree index structure in each directory ensures the hash order between key-value pairs, that is, after the key is input into the existing hash function to calculate the hash value, the key-value pairs are sorted according to the size of the hash value obtained.
需要注意的是,图2只是提供的一种逐目录有序键值存储实现的例子。其中,目录间可以不使用哈希表索引,目录内也可以不使用以哈希顺序的树进行索引,索引结构需满足本发明的实现要求。It should be noted that Figure 2 is only an example of a directory-by-directory ordered key-value storage implementation, wherein a hash table index may not be used between directories, and a tree index in hash order may not be used within a directory, and the index structure must meet the implementation requirements of the present invention.
通过逐目录结组的方式,将相同父目录的元数据在逻辑上组织在一起,可以方便地对该目录下的元数据进行查找、访问和操作。这种分组方式减少了系统在处理元数据时的搜索范围,从而提高了元数据管理的效率。由于逐目录结组的方式减少了元数据的搜索范围,分布式文件系统在处理文件读写、删除、重命名等操作时,可以更快速地定位到相关的元数据,从而提高了分布式文件系统的整体性能。相较于为所有元数据维护统一的全序关系,这种逐目录结组的方式仅需对每个目录下的元数据维护全序关系。这放松了对于元数据存储顺序的要求,降低了系统维护元数据顺序关系的额外开销。By logically organizing metadata of the same parent directory by directory grouping, metadata under the directory can be easily searched, accessed, and operated. This grouping method reduces the search scope of the system when processing metadata, thereby improving the efficiency of metadata management. Since the directory-by-directory grouping method reduces the search scope of metadata, the distributed file system can locate relevant metadata more quickly when processing file read, write, delete, rename, and other operations, thereby improving the overall performance of the distributed file system. Compared with maintaining a unified total order relationship for all metadata, this directory-by-directory grouping method only needs to maintain a total order relationship for the metadata under each directory. This relaxes the requirements for metadata storage order and reduces the system's additional overhead in maintaining metadata order relationships.
S120:分布式文件系统对元数据操作采用基于不变式的顺序更新。S120: The distributed file system adopts an invariant-based sequential update for metadata operations.
具体地,分布式文件系统对元数据操作采用基于不变式的顺序更新保证其原子性和崩溃一致性。Specifically, the distributed file system uses invariant-based sequential updates for metadata operations to ensure their atomicity and crash consistency.
在本发明的一种实施例中,不变式包括:A、在元数据操作中更新的父目录元数据与其子目录和子文件元数据存在依赖;B、重命名操作不会破坏元数据标识符的唯一性。In one embodiment of the present invention, the invariants include: A. the parent directory metadata updated in the metadata operation is dependent on its sub-directory and sub-file metadata; B. the rename operation will not destroy the uniqueness of the metadata identifier.
在通过有序的键值存储系统存放元数据的基础上,通过采用基于不变式的顺序更新方法来管理元数据操作,使得元数据的管理变得更为简单和直接。这种方式简化了文件系统操作原子性保证的逻辑,降低了系统复杂性和性能开销;提高了文件系统的性能和稳定性,使其能够更好地应对高并发和大规模数据处理的场景。Based on storing metadata in an ordered key-value storage system, metadata operations are managed by using an invariant-based sequential update method, making metadata management simpler and more direct. This method simplifies the logic of ensuring the atomicity of file system operations, reduces system complexity and performance overhead, and improves the performance and stability of the file system, enabling it to better cope with high-concurrency and large-scale data processing scenarios.
在本发明的一种实施例中,对元数据操作采用基于不变式的顺序更新,具体包括:对于元数据创建操作:先创建目标元数据,确定目标元数据创建时间;再修改父目录的最后数据修改时间、最后元数据修改时间和硬链接数;当分布式文件系统出现异常时,将父目录的最后数据修改时间、最后元数据修改时间修改为目标元数据创建时间;将父目录的硬链接数修改为2+子目录数进行恢复。In one embodiment of the present invention, metadata operations are updated sequentially based on invariants, specifically including: for metadata creation operations: first create target metadata and determine the target metadata creation time; then modify the last data modification time, the last metadata modification time and the number of hard links of the parent directory; when an abnormality occurs in the distributed file system, modify the last data modification time and the last metadata modification time of the parent directory to the target metadata creation time; modify the number of hard links of the parent directory to 2 + the number of subdirectories for recovery.
具体地,针对元数据创建操作,其先创建目标元数据(包含目标元数据的创建时间),再修改父目录元数据的最后数据修改时间、最后元数据修改时间和硬链接数。当出现文件系统异常,其通过修改父目录的最后数据修改时间、最后元数据修改时间为目标元数据创建时间;将父目录的硬链接数修改为2+子目录数进行恢复。Specifically, for metadata creation operations, it first creates the target metadata (including the creation time of the target metadata), and then modifies the last data modification time, the last metadata modification time, and the number of hard links of the parent directory metadata. When a file system abnormality occurs, it is restored by modifying the last data modification time and the last metadata modification time of the parent directory to the target metadata creation time; and modifying the number of hard links of the parent directory to 2 + the number of subdirectories.
例如,图3是本发明一个实施例执行目录元数据创建/删除操作的示意图。For example, FIG. 3 is a schematic diagram of performing directory metadata creation/deletion operations according to an embodiment of the present invention.
在图3的(a)中,其在时刻t=5创建目录元数据/A/B。首先,其插入/A/B目录元数据键值对,并附带其创建时间btime=5,接着,其将父目录元数据的最后数据块修改时间ctime与最后元数据修改时间mtime更新为/A/B的创建时间btime=5,并将/A的硬链接数nlink更新为其子目录个数+2(在本例中nlink=3)。In (a) of FIG3 , it creates directory metadata /A/B at time t=5. First, it inserts the /A/B directory metadata key-value pair and attaches its creation time btime=5. Then, it updates the last data block modification time ctime and the last metadata modification time mtime of the parent directory metadata to the creation time btime=5 of /A/B, and updates the number of hard links nlink of /A to the number of its subdirectories + 2 (nlink=3 in this example).
在本发明的一种实施例中,对元数据操作采用基于不变式的顺序更新,具体包括:对于元数据删除操作:先将目标元数据标记为无效并记录目标元数据的删除时间,再修改父目录的最后数据修改时间、最后元数据修改时间和硬链接数,最后删除目标元数据;当分布式文件系统出现异常时,将父目录的最后数据修改时间、最后元数据修改时间修改为目标元数据删除时间;将父目录的硬链接数修改为2+子目录数;删除无效目标元数据以进行恢复。In one embodiment of the present invention, metadata operations are updated sequentially based on invariants, specifically including: for metadata deletion operations: first mark the target metadata as invalid and record the deletion time of the target metadata, then modify the last data modification time, the last metadata modification time and the number of hard links of the parent directory, and finally delete the target metadata; when an abnormality occurs in the distributed file system, modify the last data modification time and the last metadata modification time of the parent directory to the target metadata deletion time; modify the number of hard links of the parent directory to 2 + the number of subdirectories; delete the invalid target metadata for recovery.
具体地,针对元数据删除操作,其先标记目标元数据为无效并记录目标元数据删除时间,修改父目录元数据的最后数据修改时间、最后元数据修改时间和硬链接数,最后删除目标元数据。当出现文件系统异常,其通过修改父目录的最后数据修改时间、最后元数据修改时间为目标元数据删除时间;将父目录的硬链接数修改为2+子目录数;删除无效目标元数据以进行恢复。Specifically, for metadata deletion operations, it first marks the target metadata as invalid and records the target metadata deletion time, modifies the last data modification time, last metadata modification time and number of hard links of the parent directory metadata, and finally deletes the target metadata. When a file system abnormality occurs, it modifies the last data modification time and last metadata modification time of the parent directory to the target metadata deletion time; modifies the number of hard links of the parent directory to 2 + the number of subdirectories; and deletes the invalid target metadata for recovery.
例如,在图3的(b)中,其在时刻t=6删除目录元数据/A/B。首先,其将/A/B目录元数据键值对标记为无效,并修改其删除时间dtime为当前时刻6。接着,其将父目录元数据的最后数据块修改时间ctime与最后元数据修改时间mtime更新为/A/B的删除时间dtime=6,并将/A的硬链接数nlink更新为其子目录个数+2(在本例中nlink=2)。最后,其删除元数据键值对/A/B。For example, in (b) of FIG3 , it deletes the directory metadata /A/B at time t=6. First, it marks the /A/B directory metadata key-value pair as invalid, and modifies its deletion time dtime to the current time 6. Then, it updates the last data block modification time ctime and the last metadata modification time mtime of the parent directory metadata to the deletion time dtime=6 of /A/B, and updates the hard link number nlink of /A to the number of its subdirectories + 2 (in this example, nlink=2). Finally, it deletes the metadata key-value pair /A/B.
在本发明的一种实施例中,对元数据操作采用基于不变式的顺序更新,具体包括:对于元数据重命名操作:先创建与旧元数据标识符相同的新元数据,然后将旧元数据标记为无效,最后修改旧元数据和新元数据的父目录的最后数据修改时间、最后元数据修改时间和硬链接数,并删除旧元数据;当分布式文件系统出现异常时,删除标识符重复的元数据与无效的元数据;将旧父目录的最后数据修改时间、最后元数据修改时间修改为旧元数据删除时间;将新父目录的最后数据修改时间、最后元数据修改时间修改为新元数据创建时间;将旧元数据和新元数据两个父目录的硬链接数修改为2+子目录数以进行恢复。In one embodiment of the present invention, metadata operations are updated sequentially based on invariants, specifically including: for metadata renaming operations: first create new metadata with the same identifier as the old metadata, then mark the old metadata as invalid, and finally modify the last data modification time, the last metadata modification time and the number of hard links of the parent directory of the old metadata and the new metadata, and delete the old metadata; when an abnormality occurs in the distributed file system, delete metadata with duplicate identifiers and invalid metadata; modify the last data modification time and the last metadata modification time of the old parent directory to the old metadata deletion time; modify the last data modification time and the last metadata modification time of the new parent directory to the new metadata creation time; modify the number of hard links of the two parent directories of the old metadata and the new metadata to 2+the number of subdirectories for recovery.
具体地,针对元数据重命名操作,其先创建与旧元数据ID相同的新元数据,然后将旧元数据标记为无效,最后修改新旧元数据父目录元数据的最后数据修改时间、最后元数据修改时间和硬链接数,并删除旧元数据。当出现文件系统异常,其通过删除ID重复的元数据与无效的元数据;修改旧父目录的最后数据修改时间、最后元数据修改时间为旧元数据删除时间;修改新父目录的最后数据修改时间、最后元数据修改时间为新元数据创建时间;将两个父目录的硬链接数修改为2+子目录数以进行恢复。Specifically, for metadata renaming operations, it first creates new metadata with the same ID as the old metadata, then marks the old metadata as invalid, and finally modifies the last data modification time, last metadata modification time, and number of hard links of the parent directory metadata of the new and old metadata, and deletes the old metadata. When a file system abnormality occurs, it deletes metadata with duplicate IDs and invalid metadata; modifies the last data modification time and last metadata modification time of the old parent directory to the old metadata deletion time; modifies the last data modification time and last metadata modification time of the new parent directory to the new metadata creation time; and modifies the number of hard links of the two parent directories to 2 + the number of subdirectories for recovery.
例如,图4是本发明一个实施例执行目录元数据重命名操作的示意图,其在时刻t=5将目录元数据/A/C重命名为/B/C。其中,C目录的ID为4。首先,其创建/B/C目录元数据,具有与/A/C相同的ID为4,并附带其创建时间btime=5。然后,其将/A/C目录元数据标记为无效。For example, FIG4 is a schematic diagram of an embodiment of the present invention performing a directory metadata renaming operation, which renames the directory metadata /A/C to /B/C at time t=5. The ID of the C directory is 4. First, it creates the /B/C directory metadata, which has the same ID as /A/C, 4, and its creation time btime=5. Then, it marks the /A/C directory metadata as invalid.
随后,其更新两个涉及到的父目录,也即/A与/B的最后数据块修改时间、最后元数据修改时间与硬链接数。其将/A的最后数据块修改时间与最后元数据修改时间更新为/A/C的删除时间dtime(在本例中为dtime=5),将/A的硬链接数nlink更新为其子目录个数+2(在本例中为nlink=2),将/B的最后数据块修改时间ctime与最后元数据修改时间mtime更新为/B/C的创建时间btime(在本例中为btime=5),将/B的硬链接数nlink更新为其子目录个数+2(在本例中为nlink=3)。最后,删除元数据键值对/A/C。Then, it updates the last data block modification time, the last metadata modification time and the number of hard links of the two involved parent directories, namely /A and /B. It updates the last data block modification time and the last metadata modification time of /A to the deletion time dtime of /A/C (in this example, dtime=5), updates the number of hard links nlink of /A to the number of its subdirectories + 2 (in this example, nlink=2), updates the last data block modification time ctime and the last metadata modification time mtime of /B to the creation time btime of /B/C (in this example, btime=5), and updates the number of hard links nlink of /B to the number of its subdirectories + 2 (in this example, nlink=3). Finally, delete the metadata key-value pair /A/C.
需要注意的是,图3与图4列举的目录元数据创建/删除、重命名操作的例子,是因为其会修改硬链接数,不是因为该方法不适用于其他类型元数据。对于文件元数据等其他类型的元数据,按照本发明的方法,也可以正确进行元数据更新。It should be noted that the examples of directory metadata creation/deletion and renaming operations listed in Figures 3 and 4 are because they will modify the number of hard links, not because the method is not applicable to other types of metadata. For other types of metadata such as file metadata, metadata can also be correctly updated according to the method of the present invention.
在分布式文件系统异常情况下,通过修改父目录的最后数据修改时间、最后元数据修改时间以及硬链接数,以及删除无效或重复的元数据,可以恢复元数据的一致性。这种恢复机制保证了即使在系统出现故障时,元数据也能保持正确和完整的状态。In the case of anomalies in the distributed file system, metadata consistency can be restored by modifying the last data modification time, the last metadata modification time, and the number of hard links of the parent directory, and deleting invalid or duplicate metadata. This recovery mechanism ensures that metadata remains correct and complete even when a system failure occurs.
以上为本发明实施例提供的一种分布式文件系统元数据管理方法,基于同样的发明思路,本发明实施例还提供了相应的一种分布式文件系统元数据管理装置,如图5所示,包括:The above is a distributed file system metadata management method provided by an embodiment of the present invention. Based on the same inventive idea, an embodiment of the present invention also provides a corresponding distributed file system metadata management device, as shown in FIG5 , including:
元数据分组存储模块510,用于将元数据按照目录进行分组,对每个目录中的元数据以键值对的形式进行存储并进行逐目录结组;其中,目录内元数据按确定性顺序存储;所述确定性顺序不会随着数据属性的变化而变化;The metadata grouping storage module 510 is used to group the metadata according to the directory, store the metadata in each directory in the form of key-value pairs and group them directory by directory; wherein the metadata in the directory is stored in a deterministic order; the deterministic order will not change with the change of data attributes;
元数据操作更新模块520,用于对元数据操作采用基于不变式的顺序更新。The metadata operation update module 520 is used to update metadata operations in a sequential manner based on invariants.
本发明实施例还提供了相应的一种分布式文件系统元数据管理设备,如图6所示,包括:The embodiment of the present invention further provides a corresponding distributed file system metadata management device, as shown in FIG6 , including:
至少一个处理器602(processor)、通信接口604(Communications Interface)、存储器606(memory)和通信总线608;其中,处理器602,通信接口604,存储器606通过通信总线608完成相互间的通信;处理器602可以调用存储器606中存储的逻辑指令,以使至少一个处理器602执行上述各实施例的步骤。At least one processor 602 (processor), a communication interface 604 (Communications Interface), a memory 606 (memory) and a communication bus 608; wherein the processor 602, the communication interface 604, and the memory 606 communicate with each other via the communication bus 608; the processor 602 can call the logic instructions stored in the memory 606 to enable at least one processor 602 to execute the steps of the above-mentioned embodiments.
基于同样的思路,本发明的一些实施例还提供了上述方法对应的介质。Based on the same idea, some embodiments of the present invention also provide a medium corresponding to the above method.
本发明的一些实施例提供的一种存储介质,存储有计算机可执行指令,计算机可执行指令由处理器执行,以实现上述各实施例的步骤。Some embodiments of the present invention provide a storage medium storing computer executable instructions, and the computer executable instructions are executed by a processor to implement the steps of the above embodiments.
另一方面,本申请实施例还提供一种计算机程序产品,计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,计算机程序被处理器执行时,计算机能够执行上述各实施例所提供的一种分布式文件系统元数据管理方法的步骤。On the other hand, an embodiment of the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the steps of a distributed file system metadata management method provided in the above embodiments.
本发明中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于设备、介质和程序产品实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment of the present invention is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, medium and program product embodiments, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
本发明实施例提供的设备、介质和程序产品与方法是一一对应的,因此,设备、介质和程序产品也具有与其对应的方法类似的有益技术效果,由于上面已经对方法的有益技术效果进行了详细说明,因此,这里不再赘述设备、介质和程序产品的有益技术效果。The devices, media, and program products provided in the embodiments of the present invention correspond one-to-one to the methods. Therefore, the devices, media, and program products also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices, media, and program products will not be repeated here.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程方法商品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程方法商品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程方法商品或者方法中还存在另外的相同要素。It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or method. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the presence of other identical elements in the process, method, commodity or method including the elements.
以上仅为本发明的实施例而已,并不用于限制本发明。虽然,上文中已经用一般性说明及具体实施方案对本发明作了详尽的描述,但在本发明基础上,可以对之作一些修改或改进,这对本领域技术人员而言是显而易见的。因此,在不偏离本发明精神的基础上所做的这些修改或改进,均属于本发明要求保护的范围。The above are only embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail above with general descriptions and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made on the basis of the present invention. Therefore, these modifications or improvements made on the basis of not departing from the spirit of the present invention all belong to the scope of protection claimed in the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410216204.2A CN118035200A (en) | 2024-02-27 | 2024-02-27 | Distributed file system metadata management method, device and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410216204.2A CN118035200A (en) | 2024-02-27 | 2024-02-27 | Distributed file system metadata management method, device and equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118035200A true CN118035200A (en) | 2024-05-14 |
Family
ID=90990958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410216204.2A Pending CN118035200A (en) | 2024-02-27 | 2024-02-27 | Distributed file system metadata management method, device and equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118035200A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119396794A (en) * | 2024-12-31 | 2025-02-07 | 深圳市泛联信息科技有限公司 | Metadata updating method, device, node device and computer readable storage medium |
-
2024
- 2024-02-27 CN CN202410216204.2A patent/CN118035200A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119396794A (en) * | 2024-12-31 | 2025-02-07 | 深圳市泛联信息科技有限公司 | Metadata updating method, device, node device and computer readable storage medium |
| CN119396794B (en) * | 2024-12-31 | 2025-05-30 | 深圳市泛联信息科技有限公司 | Metadata updating method, device, node device and computer readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7579302B2 (en) | Content Management Client Sync Service | |
| US10740319B2 (en) | Graph-based data models for partitioned data | |
| US11064025B2 (en) | File replication using file content location identifiers | |
| JP5567342B2 (en) | Network data storage system and data access method thereof | |
| US7228299B1 (en) | System and method for performing file lookups based on tags | |
| US8849759B2 (en) | Unified local storage supporting file and cloud object access | |
| CN111917834A (en) | A data synchronization method, device, storage medium and computer equipment | |
| US20060059204A1 (en) | System and method for selectively indexing file system content | |
| US10262004B2 (en) | Native snapshots in distributed file systems | |
| CN111522791B (en) | Distributed file repeated data deleting system and method | |
| JP2013545162A (en) | System and method for integrating query results in a fault tolerant database management system | |
| JP2013545162A5 (en) | ||
| CN104239511B (en) | A kind of user's space file system implementation method towards MongoDB | |
| CN106874383A (en) | A kind of decoupling location mode of metadata of distributed type file system | |
| WO2009004620A2 (en) | Method and system for data storage and management | |
| CN106484820A (en) | A kind of renaming method, access method and device | |
| US10387384B1 (en) | Method and system for semantic metadata compression in a two-tier storage system using copy-on-write | |
| CN116049306A (en) | Data synchronization method, device, electronic device and readable storage medium | |
| US10628391B1 (en) | Method and system for reducing metadata overhead in a two-tier storage architecture | |
| US20180276267A1 (en) | Methods and system for efficiently performing eventual and transactional edits on distributed metadata in an object storage system | |
| US8612717B2 (en) | Storage system | |
| CN118035200A (en) | Distributed file system metadata management method, device and equipment | |
| TWI385543B (en) | Data Synchronization System and Method for Establishing Mediation Data in Directory Service Format | |
| CN117131023B (en) | Data table processing method, device, computer equipment and readable storage medium | |
| CN117435559B (en) | Metadata hierarchical management method and device, storage medium and electronic equipment |
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 |