Skip to content
Snippets Groups Projects
  1. Aug 22, 2017
  2. Aug 21, 2017
  3. Aug 19, 2017
  4. Aug 18, 2017
    • Vladimir Davydov's avatar
      vinyl: handle empty run/slice properly · ebf1be88
      Vladimir Davydov authored
      Fix minor issues found by coverity scan:
       - Do not try to estimate slice size if the run is empty to avoid div/0.
       - Fix assert() that is supposed to check slice->first_page_no, but
         checks last_page_no instead.
       - If the slice doesn't intersect with the run (i.e. slice->end is less
         than or equal to run->begin), leave its stats zeroed out.
      ebf1be88
    • Roman Tsisyk's avatar
      Update src/lib/small · 8b26400a
      Roman Tsisyk authored
      Closes #2698
      8b26400a
    • Alexandr Lyapunov's avatar
      vinyl: fix a bug in adding of a cache chain · dd926790
      Alexandr Lyapunov authored
      The bug happens when some TX deletes a statement (writes it to
      its own write set) and then reads a range of tuples containing
      that deleted statement. DELETE must not come to select result
      (in this and only transaction before it is committed) and
      just are skipped by read iterator. After such a skipping and
      getting next true (non-DELETE) statement the iterator considers
      that there is no data between the previous statement and the
      current, and add them to the cache as a chain. This is wrong
      because the data could be hidden by DELETE statement.
      
      Track such jumps over TXW DELETE statements in read iterator and
      do not add statements as a chain in this case.
      dd926790
    • Vladimir Davydov's avatar
      vinyl: do not track partial reads in tx manager · eb5cd536
      Vladimir Davydov authored
      We use a binary tree for tracking reads (read_set). The tree is ordered
      by (index, statement, tx). Insertion of a partial statement into the
      tree may result in breaking comparison transitivity, which is mandated
      by the tree implementation. However, for range requests we insert the
      search key into the read set, which may be partial. This may result in a
      crash in the read_set.
      
      Tracking the search key doesn't make much sense anyway: it doesn't bring
      us any closer to range request tracking, only obscures the semantics of
      select. So let's track only statements actually returned by the iterator
      plus gaps found by point requests.
      
      Closes #2675
      eb5cd536
    • Roman Tsisyk's avatar
      test: fix engine/truncate failure · b018785e
      Roman Tsisyk authored
      Fix bad merge of 945a97db and 7a5835f4
      b018785e
    • Konstantin Osipov's avatar
    • Vladimir Davydov's avatar
      test: fix vinyl/recovery_quota failure · 71c18042
      Vladimir Davydov authored
      A dump task can be scheduled or completed after we saved stats.
      Make sure this doesn't happen.
      
      Closes #2696
      71c18042
    • Roman Tsisyk's avatar
      arm: fix compilation and tests · 945a97db
      Roman Tsisyk authored
      945a97db
    • Georgy Kirichenko's avatar
      arm: fix build for arm w/o thumb2 · 6c838dff
      Georgy Kirichenko authored
      Do not use thumb specifier for asm code, use unified syntax directive
      instead.
      6c838dff
    • Vladimir Davydov's avatar
      test: fix engine/truncate failure · 7a5835f4
      Vladimir Davydov authored
      Revoke permissions granted by the test.
      7a5835f4
  5. Aug 17, 2017
Loading