Phillippko commented on code in PR #5974: URL: https://github.com/apache/ignite-3/pull/5974#discussion_r2126087130
########## modules/transactions/src/main/java/org/apache/ignite/internal/tx/storage/state/rocksdb/TxStateRocksDbSharedStorage.java: ########## @@ -263,4 +266,20 @@ public ColumnFamily txStateColumnFamily() { public ColumnFamily txStateMetaColumnFamily() { return txStateMetaColumnFamily; } + + /** + * Destroys tx state storage for table or zone by its ID. + * + * @param tableOrZoneId ID of the table or zone. + */ + public void destroyStorage(int tableOrZoneId) { + byte[] start = ByteBuffer.allocate(TABLE_PREFIX_SIZE_BYTES).order(BIG_ENDIAN).putInt(tableOrZoneId).array(); Review Comment: should we rename this constant? Maybe not related to this PR - TxStateRocksDbStorage.java and TxStateRocksDbSharedStorage.java look like they are related only to tables, no mention of zones at all -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org