Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
Description
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.