[ 
https://issues.apache.org/jira/browse/HDDS-17133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134832#comment-18134832
 ] 

Chia-Chuan Ho commented on HDDS-17133:
--------------------------------------

Hi [~smeng], thanks for the guidance.

After checking the existing tests, I have a few follow-up questions to make 
sure the new coverage matches your expectations:
 # *Follower reads:* The existing setup enables both Ratis leader lease and 
Ozone follower local lease. Would it be appropriate to disable follower local 
lease and test LINEARIZABLE follower reads with Ratis leader lease enabled and 
disabled? For the lease-enabled case, would “3 down → no stale reads” be 
covered sufficiently by verifying that reads fail within a bounded time after 
the lease expires, or would you prefer a partition test where the majority 
commits an update and the isolated nodes must not return stale data?
 # *Finalization:* The existing lagging-node tests use 
{{forceFinalizeUpgrade()}} to bypass peer version checks while a node is 
unavailable. Would separate scenarios covering normal finalization with all 
five nodes running, and forced finalization with two nodes down followed by 
snapshot-based recovery, meet your expectations for both OM and SCM?
 # *Secure OM:* By “tokens,” do you mean OM delegation tokens, or should block 
tokens also be covered? I would verify that credentials obtained before 
failover remain usable afterward through token-authenticated operations and 
signed S3 requests.

For CI, I suggest measuring each representative test’s runtime first, then 
discussing which should run on every change and which need a periodic job. Does 
that sound reasonable?

Thanks again!

> Extend 5-node HA test coverage to upgrade finalization, Recon, S3 Gateway, 
> follower read, listener OMs and secure OM
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-17133
>                 URL: https://issues.apache.org/jira/browse/HDDS-17133
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: OM HA, SCM HA, test
>            Reporter: Siyao Meng
>            Priority: Major
>
> The new 5-node integration tests cover the Ratis basics. Not yet covered with 
> more than 3 voting nodes:
> * OM and SCM upgrade finalization (TestOMUpgradeFinalization, 
> TestScmHAFinalization use 3).
> * Recon syncing from a 5-OM ring and following OM leader changes.
> * S3 Gateway failover across 5 OMs.
> * OM follower read (LINEARIZABLE / leader lease) with 5 OMs.
> * Listener OMs together with 5 voting OMs.
> * FSO/OBS filesystem snapshots and their install on lagging OMs in a 5-OM 
> ring.
> * Secure (Kerberos) 5-OM cluster.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to