Skip to content
Snippets Groups Projects
  1. Jan 31, 2017
  2. Jan 30, 2017
  3. Jan 29, 2017
  4. Jan 27, 2017
  5. Jan 26, 2017
  6. Jan 25, 2017
  7. Jan 24, 2017
    • Alexandr Lyapunov's avatar
      vinyl: add tuple cache with range support · d139a325
      Alexandr Lyapunov authored
      Closes #1692
      d139a325
    • Alexandr Lyapunov's avatar
      vinyl: refactor merge_iterator, prepare for tuple_cache · 7fde1b8d
      Alexandr Lyapunov authored
      Change order of traversal in merge iterator to direct,
      getting ready for avoiding reading from disk in case of cache hit
      7fde1b8d
    • Vladimir Davydov's avatar
      vinyl: keep track of range size on disk · 67a679b7
      Vladimir Davydov authored
      Required to check if a range should be coalesced with its neighbors.
      67a679b7
    • Vladimir Davydov's avatar
      vinyl: refactor range acct/unacct · 9d28b753
      Vladimir Davydov authored
       - Do not unaccount mem from the index and unlink it from the scheduler
         in vy_range_delete(), because it violates encapsulation. Let's just
         delete it there and leave accounting to specialized helpers, as we do
         in case of runs.
       - Delete vy_range_delete_mem() helper, because it has nothing to do
         with range - it unaccounts a mem from the *index* and removes it from
         the *scheduler*, and then frees it.
       - Make vy_index_{acct,unacct}_range() helpers handle mems as well, as
         those are a part of each range.
       - Drop vy_index_acct_range_dumped() helper. Use unacct/acct pair
         instead.
      
      Hopefully, ths patch makes the code easier to follow.
      9d28b753
    • Vladimir Davydov's avatar
      vinyl: rename vy_run_total -> vy_run_size · 50af355f
      Vladimir Davydov authored
      Besides vy_run_total(), which returns the size of run data file on disk,
      there's also vy_run_size() which returns the size of run and page info
      structs in memory. The latter doesn't make much sense, so let's drop it
      and rename vy_run_total() to vy_run_size().
      50af355f
Loading