Skip to content

Comments

disk_index_partition header and cpp#47

Draft
AtharvaPhadnis wants to merge 15 commits intomarius-team:disk_supportfrom
AtharvaPhadnis:disk_support
Draft

disk_index_partition header and cpp#47
AtharvaPhadnis wants to merge 15 commits intomarius-team:disk_supportfrom
AtharvaPhadnis:disk_support

Conversation

@AtharvaPhadnis
Copy link

Create some basic scaffolding for disk_index_partition class and header
No implementations of any methods included yet

Right now we are thinking of the following

Methods

  • read_from_disk() : Reads a partition into memory
  • write_to_disk() : Flush a partition to disk
  • rellocate_disk() : If we need to make any changes to the backing file

Member variables

  • file_handler : Either a string that points to the backing file on disk or something more sophisticated like a file handler class for this partition
  • is_in_memory : Flag that tracks if this partition is currently resident in memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants