baidu / tera

An Internet-Scale Database.
BSD 3-Clause "New" or "Revised" License
1.89k stars 439 forks source link

when a tabletnode node dead, tablets on it cannot use until this node is ready? #1322

Closed minguofeng closed 6 years ago

minguofeng commented 6 years ago

this means some tablets content may be lost when this node dead always?

minguofeng commented 6 years ago

TS节点挂掉, 在其节点上的数据就会被设置成kTableOffLine。 SDK找不到这个分片,最终会卡死么?

datonli commented 6 years ago

ts节点挂掉之后,其上的分片不可用这种行为是符合预期的,这个时候重点是要把这个ts尽快起起来;sdk有超时,不会卡死。

minguofeng commented 6 years ago

如果挂掉的ts一直没有人去启动。有没有负载均衡的机制或者其他机制能把该挂掉ts上的数据在其他节点上load起来呢?

datonli commented 6 years ago

有负载均衡机制

minguofeng commented 6 years ago

@DatongLi 好的,十分感谢您的答复

datonli commented 6 years ago

不客气~