摘要 |
A data processing method for a distributed file system and a distributed file system. The method comprises: an FAC acquires file data and pushes the file data to an FAS (101); the FAS records the file data pushed by the FAC, records modification of corresponding metadata in the FAS this time in a buffer area, writes the modification into a log file, and returns a file data pushing completion message to the FAC (102); the FAC sends a metadata modification change request to an FLR (103); the FLR modifies the corresponding metadata according to the metadata modification change request, and records the modification in a log file system (104); and when unexpected restart of the FAS is detected, the FLR implements rollback operation of the corresponding modified data according to the log records (105). |