Swaminathan Balachandran created HDDS-11690:
-----------------------------------------------
Summary: Validate RATIS keys are all commited on watch for commit
Key: HDDS-11690
URL: https://issues.apache.org/jira/browse/HDDS-11690
Project: Apache Ozone
Issue Type: Task
Reporter: Swaminathan Balachandran
Assignee: Rishabh Patel
Write a test case to verify if ALL_COMMITED replication in ratis is respected
on Datanode pipeline writes or if we fallback to MAJORITY_COMMIT. We need to
test this out by fault injecting some code on one of the datanodes on pipeline
writes. This can be achieved by mocking one of the datanode write code by
adding a sleep to make it lagging follower in a pipeline.
We should validate of watch for commit waits for all commit when
[https://github.com/apache/ozone/blob/a33af1dbce25ca3c1f71d833f506d8d8290a4213/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/ratis/conf/RatisClientConfig.java#L103]
is set to ALL_COMMITED and see if the watch for commit fails when a lagging
follower fails to apply some transaction and see if the commit still happens.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]