You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Aravindan Vijayan (Jira)" <ji...@apache.org> on 2020/01/06 23:22:00 UTC

[jira] [Updated] (HDDS-2590) Integration tests for Recon with Ozone Manager.

     [ https://issues.apache.org/jira/browse/HDDS-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aravindan Vijayan updated HDDS-2590:
------------------------------------
    Status: Patch Available  (was: Open)

> Integration tests for Recon with Ozone Manager.
> -----------------------------------------------
>
>                 Key: HDDS-2590
>                 URL: https://issues.apache.org/jira/browse/HDDS-2590
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: Ozone Recon
>            Reporter: Aravindan Vijayan
>            Assignee: Shweta
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, Recon has only unit tests. We need to add the following integration tests to make sure there are no regressions or contract breakage with Ozone Manager. 
> The first step would be to add Recon as a new component to Mini Ozone cluster.
> * *Test 1* - *Verify Recon can get full snapshot and subsequent delta updates from Ozone Manager on startup.*
>   > Start up a Mini Ozone cluster (with Recon) with a few keys in OM.
>   > Verify Recon gets full DB snapshot from OM.
>   > Add 100 keys to OM
>   > Verify Recon picks up the new keys using the delta updates mechanism.
>   > Verify OM DB seq number == Recon's OM DB snapshot's seq number
> * *Test 2* - *Verify Recon restart does not cause issues with the OM DB syncing.*
>    > Startup Mini Ozone cluster (with Recon).
>    > Add 100 keys to OM
>    > Verify Recon picks up the new keys.
>    > Stop Recon Server
>    > Add 5 keys to OM.
>    > Start Recon Server
>    > Verify that Recon Server does not request full snapshot from OM (since only a small 
>        number of keys have been added, and hence Recon should be able to get the 
>        updates alone)
>    > Verify OM DB seq number == Recon's OM DB snapshot's seq number
> *Note* : This exercise might expose a few bugs in Recon-OM integration which is perfectly normal and is the exact reason why we want these tests to be written. Please file JIRAs for any major issues encountered and link them here. Minor issues can hopefully be fixed as part of this effort. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org