[
https://issues.apache.org/jira/browse/IGNITE-16980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544375#comment-17544375
]
Sergey Chugunov commented on IGNITE-16980:
------------------------------------------
[~rpuch] , it seems this ticket is about non-MV version of Storage and this
code will be eventually replaced with MV-enabled version. So I don't see any
value in fixing it. Could you please close the ticket?
> PageMemoryPartitionStorage#write() can leak page slots
> ------------------------------------------------------
>
> Key: IGNITE-16980
> URL: https://issues.apache.org/jira/browse/IGNITE-16980
> Project: Ignite
> Issue Type: Bug
> Components: persistence
> Reporter: Roman Puchkovskiy
> Assignee: Kirill Tkalenko
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-alpha5
>
>
> {{public void write(DataRow row) throws StorageException {}}
> {{ try {}}
> {{ TableDataRow dataRow = wrap(row);}}
> {{ freeList.insertDataRow(dataRow);}}
> {{ tree.put(dataRow);}}
> {{ } catch (IgniteInternalCheckedException e) {}}
> {{ throw new StorageException("Error writing row", e);}}
> {{ }}}
> {{}}}
> This code always occupies a slot in a data page, even if the key was already
> put to the partition. So, if 2 puts with same key occur, one page slot is
> wasted.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)