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

Kirill Tkalenko commented on IGNITE-17500:
------------------------------------------

[~apolovtcev] Looks good.

> RocksDbMvPartitionStorage#destroy should wait for the flush operation to 
> complete
> ---------------------------------------------------------------------------------
>
>                 Key: IGNITE-17500
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17500
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Minor
>              Labels: ignite-3
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently {{RocksDbMvPartitionStorage#destroy}} method returns a 
> CompletableFuture that is immediately completed after the data has been 
> written to the memtable. Instead, it should only complete after the data has 
> been flushed to the disk. 
> There's also another issue that {{RocksDbMvPartitionStorage}} is not closed 
> after {{destroy}} is called, which is a resource leak.



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

Reply via email to