Skip to content

kvs: dangling fence requests can eat up memory in kvs forever #6112

Closed
@chu11

Description

@chu11

while working on #6049 it occurred to me that "dangling" fence requests eat up memory forever. e.g. if only 3 out of 4 fence requests are ever sent, then that transaction and the messages sit in the kvs forever waiting for the 4th fence request to arrive.

  • in the disconnect callback, we could minimally cleanup the message response so that doesn't eat up memory and we don't send out a response to someone that is not waiting for a response

  • there is no mechanism to 'timeout' a fence transaction or cancel it. so it sits there forever

    • if all present waiters disconnect, should we cancel transaction?
    • or have configurable timeout via heartbeats or something like that could cancel it?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions