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

Hemant Kumar commented on HDDS-11152:
-------------------------------------

Corresponding Ratis transactions:


{code:java}
(t:5, i:15656), STATEMACHINELOGENTRY, cmdType: CreateSnapshot traceID: "" 
clientId: "client-35D477B26376" userInfo { userName: 
"[email protected]" remoteAddress: "10.64.62.65" hostName: 
"10.64.62.65" } version: 4 layoutVersion { version: 6 } CreateSnapshotRequest { 
volumeName: "testvol" bucketName: "buckecobs" snapshotName: "snap1724234145" 
snapshotId { mostSigBits: -578155277913866150 leastSigBits: 
-8953809107300506683 } creationTime: 1724234149370 }


(t:5, i:15664), STATEMACHINELOGENTRY, cmdType: SetSnapshotProperty clientId: 
"client-98EE0E78FA6A" SetSnapshotPropertyRequest { snapshotKey: 
"/testvol/buckecobs/snap1724234145" deepCleanedDeletedKey: true }


(t:6, i:15796), STATEMACHINELOGENTRY, cmdType: DeleteSnapshot traceID: "" 
clientId: "client-0693FC121B0E" userInfo { userName: 
"[email protected]" remoteAddress: "10.64.62.65" hostName: 
"10.64.62.65" } version: 4 layoutVersion { version: 6 } DeleteSnapshotRequest { 
volumeName: "testvol" bucketName: "buckecobs" snapshotName: "snap1724234145" 
deletionTime: 1724234276947 }


(t:6, i:15830), STATEMACHINELOGENTRY, cmdType: PurgeKeys clientId: 
"client-0925498CB0E2" purgeKeysRequest { deletedKeys { volumeName: "testvol" 
bucketName: "buckecobs" keys: 
"/testvol/buckecobs/dir0/dir1/dir2/file1724234137/-9223372036850769408" } 
snapshotTableKey: "/testvol/buckecobs/snap1724234145" }


(t:6, i:15832), STATEMACHINELOGENTRY, cmdType: SnapshotMoveDeletedKeys 
clientId: "client-AECD5A6449F2" SnapshotMoveDeletedKeysRequest { fromSnapshot { 
snapshotID { mostSigBits: -578155277913866150 leastSigBits: 
-8953809107300506683 } name: "snap1724234145" volumeName: "testvol" bucketName: 
"buckecobs" snapshotStatus: SNAPSHOT_DELETED creationTime: 1724234149370 
deletionTime: 1724234276947 pathPreviousSnapshotID { mostSigBits: 
-4356075656228093864 leastSigBits: -7329121757703795795 } 
globalPreviousSnapshotID { mostSigBits: 1992076454261968188 leastSigBits: 
-6733962739736943547 } snapshotPath: "testvol/buckecobs" checkpointDir: 
"-f7f9fad6-82ed-405a-83bd-ae0e64b223c5" dbTxSequenceNumber: 21763 deepClean: 
true sstFiltered: true referencedSize: 10096764 referencedReplicatedSize: 
16827941 exclusiveSize: 0 exclusiveReplicatedSize: 0 deepCleanedDeletedDir: 
false } }


(t:6, i:15856), STATEMACHINELOGENTRY, cmdType: SnapshotPurge clientId: 
"client-AECD5A6449F2" SnapshotPurgeRequest { snapshotDBKeys: 
"/testvol/buckecobs/snap1724234145" }{code}

> OMDoubleBuffer error when handling OMRequest: cmdType: SnapshotMoveDeletedKeys
> ------------------------------------------------------------------------------
>
>                 Key: HDDS-11152
>                 URL: https://issues.apache.org/jira/browse/HDDS-11152
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: OM, Snapshot
>            Reporter: Jyotirmoy Sinha
>            Assignee: Hemant Kumar
>            Priority: Major
>              Labels: ozone-snapshot
>
> OMDoubleBuffer error when handling OMRequest: cmdType: SnapshotMoveDeletedKeys
> Error stacktrace - 
> {code:java}
> 2024-07-11 16:39:41,419 ERROR 
> [om136-OMDoubleBufferFlushThread]-org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer:
>  Terminating with exit status 1: During flush to DB encountered error in 
> OMDoubleBuffer flush thread om136-OMDoubleBufferFlushThread when handling 
> OMRequest: cmdType: SnapshotMoveDeletedKeys
> traceID: ""
> success: true
> status: OKjava.io.IOException: Rocks Database is closed
>         at 
> org.apache.hadoop.hdds.utils.db.RocksDatabase.acquire(RocksDatabase.java:439)
>         at 
> org.apache.hadoop.hdds.utils.db.RocksDatabase.batchWrite(RocksDatabase.java:776)
>         at 
> org.apache.hadoop.hdds.utils.db.RocksDatabase.batchWrite(RocksDatabase.java:785)
>         at 
> org.apache.hadoop.hdds.utils.db.RDBBatchOperation.commit(RDBBatchOperation.java:348)
>         at 
> org.apache.hadoop.hdds.utils.db.RDBStore.commitBatchOperation(RDBStore.java:285)
>         at 
> org.apache.hadoop.ozone.om.response.snapshot.OMSnapshotMoveDeletedKeysResponse.addToDBBatch(OMSnapshotMoveDeletedKeysResponse.java:136)
>         at 
> org.apache.hadoop.ozone.om.response.OMClientResponse.checkAndUpdateDB(OMClientResponse.java:66)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$8(OzoneManagerDoubleBuffer.java:408)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.addToBatchWithTrace(OzoneManagerDoubleBuffer.java:253)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.addToBatch(OzoneManagerDoubleBuffer.java:407)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushBatch(OzoneManagerDoubleBuffer.java:353)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushCurrentBuffer(OzoneManagerDoubleBuffer.java:328)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushTransactions(OzoneManagerDoubleBuffer.java:295)
>         at java.base/java.lang.Thread.run(Thread.java:834) {code}



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