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

Ethan Rose updated HDDS-11775:
------------------------------
    Description: Some {{ozone debug}} tools may require a consistent view into 
the RocksDB instance to function correctly and may give incorrect results if 
the DB is being used by a running OM. To fix this, we can have {{ozone debug}} 
operate on a RocksDB checkpoint if the Ozone process is running. This avoids 
users having to manually install RocksDB's ldb and make the checkpoint 
themselves. This could be an optional flag like {{--checkpoint}} that instructs 
the command to create a checkpoint from the RocksDB instance provided and read 
that instead.  (was: If a process like Ozone has a RocksDB instance open for 
write, then another process like {{ozone debug}} cannot open the DB for 
reading. Many {{ozone debug}} tools will not give consistent results on a DB 
undergoing writes anyways. To fix this, we can have {{ozone debug}} operate on 
a RocksDB checkpoint if the Ozone process is running. This avoids users having 
to manually install RocksDB's ldb and make the checkpoint themselves. This 
could be an optional flag like {{--checkpoint}} that instructs the command to 
create a checkpoint from the RocksDB instance provided and read that instead.)

> Allow Ozone debug tools that need to read RocksDB to automatically create a 
> checkpoint
> --------------------------------------------------------------------------------------
>
>                 Key: HDDS-11775
>                 URL: https://issues.apache.org/jira/browse/HDDS-11775
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ethan Rose
>            Priority: Major
>
> Some {{ozone debug}} tools may require a consistent view into the RocksDB 
> instance to function correctly and may give incorrect results if the DB is 
> being used by a running OM. To fix this, we can have {{ozone debug}} operate 
> on a RocksDB checkpoint if the Ozone process is running. This avoids users 
> having to manually install RocksDB's ldb and make the checkpoint themselves. 
> This could be an optional flag like {{--checkpoint}} that instructs the 
> command to create a checkpoint from the RocksDB instance provided and read 
> that instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to