Skip to content
Snippets Groups Projects
  1. Mar 14, 2017
  2. Mar 13, 2017
    • Alexandr Lyapunov's avatar
      vinyl: fix boundary determination in cache · a8e6b720
      Alexandr Lyapunov authored
      Fixes #2189
      a8e6b720
    • Vladimir Davydov's avatar
      xctl: write the log file via wal · 5102bfbc
      Vladimir Davydov authored
      We can't write to an xlog from a coeio task, because coeio uses a pool
      of workers while xlog can only be used from a single thread due to obuf.
      So we use a hack: we write to the metadata xlog in the tx thread, but
      flush the xlogfrom a coeio task so as not to block tx. To get rid of it,
      let's write the metadata log on behalf of the wal thread.
      5102bfbc
    • Vladimir Davydov's avatar
      Rename vy_log => xctl · ea677d67
      Vladimir Davydov authored
      We are planning to share the metadata log among all engines and the
      tarantool core, so rename vy_log appropriately.
      ea677d67
    • Vladimir Davydov's avatar
      vinyl: remove vy_log_gc_cb callback · 7d51f9ff
      Vladimir Davydov authored
      For the sake of encapsulation, we don't remove run files directly from
      vy_log.c - instead we pass a gc callback on log creation. Once we make
      the metadata log system-wide, so that it could be used for storing info
      about snapshots and xlog files, we won't be able to do that. So in this
      patch we remove vy_log_gc_cb callback and move run file deletion to
      vy_log.c.
      7d51f9ff
    • Vladimir Davydov's avatar
      vinyl: don't log meta after index drop · dfe96807
      Vladimir Davydov authored
      When a vinyl index is dropped, there still might be dump/compaction
      tasks running for it. Upon completion a task will log run/range creation
      or deletion, which will cause recovery to fail if the index is dropped.
      To avoid this, let's avoid logging metadata after the index was dropped.
      dfe96807
    • Roman Tsisyk's avatar
      Fix failing vinyl/upsert.test.lua · e30c44b0
      Roman Tsisyk authored
      Follow up #2005
      e30c44b0
    • Roman Tsisyk's avatar
      Review fixes for gh-2005-vinyl-upsert-stat · 528feea4
      Roman Tsisyk authored
      Combine rmeans for VY_STAT_UPSERT_OPTIMIZED, VY_STAT_UPSERT_OPTIMIZED_TX and
      VY_STAT_UPSERT_CHAINS_OPTIMIZED. We don't need such detailed statistics.
      528feea4
    • Georgy Kirichenko's avatar
      Count vinyl upsert operations. Fixed #2005 · 794769b7
      Georgy Kirichenko authored
      Count for squashed upserts, in-transaction replaced upserts and all
      applied upsert operations.
      794769b7
    • Konstantin Osipov's avatar
      recovery: do not use instance id global variable in replication · 17c067fb
      Konstantin Osipov authored
      * do not allow "deleting" id of self from _cluster table
      * assume struct replica for self is always present, even
        when replication is off
      * update cluster.test.py, remove tests for removal of self
        instance id
      * use struct replica self->id instead of global instance id
        wherever necessary
      * read only mode is now defined by is_ro alone, since
        the local instance always has an assigned id
      
      This cherry-picks some changes from branch remove-tx-vclock,
      and follows up on the removal of recovery->replica_id member.
      17c067fb
    • Konstantin Osipov's avatar
      recovery: ensure we always have a replica object for self · b8c44ebc
      Konstantin Osipov authored
      Ensure we always have at least "self" in the replication cluster
      (replica set), even if replication is off.
      
      The local instance can never be removed from the replica set.
      
      This simplifies further reasoning about the code.
      b8c44ebc
    • Georgy Kirichenko's avatar
      Extract replica_id from recovery struct. · eff7c381
      Georgy Kirichenko authored
      Add a new instance_id variable to identify position of the local
      instance lsn in vclock vector.
      eff7c381
  3. Mar 10, 2017
  4. Mar 09, 2017
  5. Mar 07, 2017
Loading