apache / apache/helix

`ZkBaseDataAccessor.set` should either success or throw exception, but not both

Open
#3,072 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
504
Forks
255
Avg merge
17d 47m
Merged PRs (30d)
2

Description

Continuation on #2685

When setting a record in ZK, we need deterministic behavior, were the call should either success or fail (throw exception). Currently the call might change the record but also throw exception. Do you see a workaround to get deterministic result?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the continuation in #2685 and inspect the ZkBaseDataAccessor.set path involved in setting a record in ZK. Determine how the call can both change the record and throw, then define and verify behavior where each call either succeeds or reports failure without an ambiguous result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.