Pratyush Bhatt created HDDS-10650:
-------------------------------------

             Summary: Deleting Volume/Bucket/Directory doesn't remove key from 
OpenKeyTable
                 Key: HDDS-10650
                 URL: https://issues.apache.org/jira/browse/HDDS-10650
             Project: Apache Ozone
          Issue Type: Bug
          Components: OM
            Reporter: Pratyush Bhatt


Iteration 1:
Create a file _/hsyncvol/hsyncbuck/hsync/File_1.txt_ write some data, do hsync, 
and keep it open.
File is visible in OpenKeyTable
{noformat}
ozone admin om lof --service-id=ozone1712159573  | grep File_1.txt
112214179318792293    1712252492047    Yes   
/hsyncvol/hsyncbuck/-9223372036851775231/File_1.txt{noformat}
Delete the volume containing the file
{noformat}
ozone sh volume delete -r -y hsyncvol
24/04/04 17:42:11 INFO protocolPB.OmTransportFactory: Loading OM transport 
implementation org.apache.hadoop.ozone.om.protocolPB.Hadoop3OmTransportFactory 
as specified by configuration.
24/04/04 17:42:11 INFO client.ClientTrustManager: Loading certificates for 
client.
24/04/04 17:42:12 INFO protocolPB.OmTransportFactory: Loading OM transport 
implementation org.apache.hadoop.ozone.om.protocolPB.Hadoop3OmTransportFactory 
as specified by configuration.
24/04/04 17:42:12 INFO client.ClientTrustManager: Loading certificates for 
client.
Volume hsyncvol is deleted{noformat}
Still the file is present in OpenKeyTable
{code:java}
ozone admin om lof --service-id=ozone1712159573  | grep File_1.txt
112214179318792293    1712252492047    Yes       
/hsyncvol/hsyncbuck/-9223372036851775231/File_1.txt {code}

Iteration 2:
Again open the same file _/hsyncvol/hsyncbuck/hsync/File_1.txt_ , write some 
data, do hsync.



--
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