Urmi Mustafi created GOBBLIN-1901:
-------------------------------------
Summary: Define MultiActiveLeaseArbiter Decorator to Model Failed
Lease Completion
Key: GOBBLIN-1901
URL: https://issues.apache.org/jira/browse/GOBBLIN-1901
Project: Apache Gobblin
Issue Type: New Feature
Components: gobblin-service
Reporter: Urmi Mustafi
Assignee: Abhishek Tiwari
Creates MysqlMultiActiveLeaseAribterTestingDecorator class used to model
scenarios where a lease owner fails to complete a lease successfully
intermittently (representing a variety of slowness or failure cases that can
result on the participant side, network connectivity, or database).
It will fail on calls to \{@link
MysqlMultiActiveLeaseArbiter.recordLeaseSuccess()} where a deterministic
function of the lease obtained timestamp matches a bitmask of the host.
Ideally, each participant should fail on different calls (with limited overlap
if we want to test that). See java doc for more details.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)