8000 [Lock] ZookeeperStore:putOffEpiration throws exception · Issue #28696 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Lock] ZookeeperStore:putOffEpiration throws exception #28696
Closed
@jderusse

Description

@jderusse

Symfony version(s) affected: master

Description
The ZookeeperStore:putOffEpirationmethod throws an exception (https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Lock/Store/ZookeeperStore.php#L94) whereas Zookeeper locks forever. The purpose ofputOffEpiration` is to extends the lifetime of a lock, by locking forever, the ZookeeperStore support the feature.

Possible Solution
Instead of throwing an exception the store should do nothing like other stores (https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Lock/Store/FlockStore.php#L111)

ping @GaneshChandrasekaran

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0