Skip to content

Extend functionality of memtx_allocator #11744

@Gumix

Description

@Gumix

template<class Allocator>
class MemtxAllocator {
public:
/**
* Tuple read view.
*
* Opening a read view pins tuples that were allocated before
* the read view was created. See open_read_view().
*/

For memcs brin/skip indexes and for another upcoming features we need the following functionality:

  1. Ability to allocate arbitrary blocks of memory, not only memtx tuples;
  2. Coping of a block that is touched for writing, and that is referenced by a read view;
  3. Avoid CoW for blocks that is touched for writing, but isn't referenced by any read view.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions