Multivariate data server log processing method and device

A multi-data, server technology, applied to the redundancy in computing for data error detection, response error generation, hardware monitoring, etc., can solve problems such as poor availability and reliability

CN103049351BActive Publication Date: 2016-06-08DAWNING INFORMATION IND BEIJING +1
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2016-06-08

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a log processing method of a multivariate data server. The log processing method of the multivariate data server includes that a log is transmitted to a secondary copy after a primary copy saves the log in an internal memory; the primary copy and the secondary copy respectively perform operation of logging equipment and metadata disc application; and an application ending message is sent to an opposite side after the primary copy and the secondary copy complete the operation of the metadata disc application. According to the technical scheme of the log processing method and a device of the multivariate data server, the availability and reliability of the system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention generally relates to a multivariate data server, and more specifically, relates to a log processing method and device for a multivariate data server. Background technique

[0002] In order to ensure the consistency and atomicity of the multivariate data server, a log system is used to complete the data storage of metadata. In order to ensure the atomicity of data, the general principle adopted by modern log systems is the strategy of writing logs first and then writing to disk. In order to prevent the loss of metadata, the log can only be deleted after all the replicas are applied. Therefore, how to recycle the log device immediately is a very important issue in the multi-data server.

[0003] Existing log systems such as the hadoop file system (HDFS) use regular application logs, and after the application ends, the log devices are recycled. In this method, when the master copy (the copy that provides data services in the metada...

Examples

Embodiment Construction

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0022] figure 1 is a flowchart of a log processing method of a multivariate data server according to an embodiment of the present invention.

[0023] refer to figure 1 , according to the log processing method of the multivariate data server of the present invention, comprising: S102, after the master copy saves the log in the memory, the log is transferred to the slave copy; S104, the master copy and the slave copy respectively record the log device and the application metadata disk and S10...