The invention provides a fault node
processing method and device for a distributed table
system, and relates to the technical field of computers, in particular to the technical field of distributed data storage. The distributed table
system comprises a main node and a plurality of data nodes, the plurality of data nodes bear fragment copies of a table, the main fragment copies provide read-write service for the outside, and the method comprises the following steps: carrying out
heartbeat check on the plurality of data nodes; detecting own
network connectivity in response to the fact that abnormal data nodes exist based on
heartbeat examination; in response to the fact that the own network is determined to be normal based on
connectivity detection, selecting a main fragment copy borne by the abnormal
data node; detecting whether bottom file lock resources of the main fragment copy are released or not; and in response to determining that the underlying file lock resource is released, sending a master switching instruction to a
data node where a slave fragment copy corresponding to the master fragment copy is located, so as to switch the slave fragment copy into a new master fragment copy, and removing an abnormal
data node from the distributed table
system.