Skip to content
Snippets Groups Projects
Commit 0c7f2e99 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Roman Tsisyk
Browse files

vinyl: fix small run recovery

If run size is less than ALIGN_POS(sizeof(struct vy_run_info)), then
vy_range_recover() won't load it. This is due to a residue of aligned
read/write functionality, the rest of which was removed by commit
7fe24c42 ("All operation will be done over xlog. We don't need to use
aligned rw ops"). Remove this last ALIGN_POS. Steps to reproduce:

  space = box.schema.space.create("vinyl", { engine = 'vinyl' })
  space:create_index('primary', { parts = { 1, 'unsigned' } })
  space:insert({0})
  box.snapshot
  -- restart server
  space:select()
parent 2067b394
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment