AntidoteDB / AntidoteDB/antidote

Long lived tx coordinators live too long

未关闭
#208 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Erlang
星标
892
派生
92
PR 合并指标
30 天内没有已合并 PR

描述

Currently we support long lived tx coordinators, the idea behind this is to be able to assign coordinators to clients that can live as long as the client is connected and execute many transactions for that client.
https://github.com/SyncFree/antidote/blob/master/src/clocksi_interactive_tx_coord_fsm.erl#L97

Two issues:
Long lived tx coords never die.
They use registered names which we can run out of (i.e. run out of atoms).

Possible solutions:
Use a pool of tx coords.
Assign long lived tx coords with the connection state, so they live and die with the client connection and don't use registered names.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。