Tarantool development patches archive
 help / color / mirror / Atom feed
From: Konstantin Osipov <kostja@tarantool.org>
To: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: tarantool-patches@freelists.org
Subject: Re: [PATCH] tx: exclude sysview engine from transaction control
Date: Mon, 23 Jul 2018 22:44:04 +0300	[thread overview]
Message-ID: <20180723194404.GA10149@chai> (raw)
In-Reply-To: <1e2b7faf141e6b18fdcdf2ea756b28d5d91722fb.1531913079.git.vdavydov.dev@gmail.com>

* Vladimir Davydov <vdavydov.dev@gmail.com> [18/07/18 22:16]:
> Sysview is a special engine that is used for filtering out objects that
> a user can't access due to lack of privileges. Since it's treated as a
> separate engine by the transaction manager, we can't query sysview
> spaces from a memtx/vinyl transaction. In particular, if called from a
> transaction space:format() will return
> 
>   error: A multi-statement transaction can not use multiple storage engines
> 
> which is inconvenient.
> 
> To fix this, let's mark sysview engine with a new ENGINE_BYPASS_TX flag
> and make the transaction manager skip binding a transaction to an engine
> in case this flag is set.
> 
> Closes #3528

Pushed.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov

      parent reply	other threads:[~2018-07-23 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18 11:27 Vladimir Davydov
2018-07-21 12:57 ` [PATCH v2] " Vladimir Davydov
2018-07-23 19:44 ` Konstantin Osipov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180723194404.GA10149@chai \
    --to=kostja@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [PATCH] tx: exclude sysview engine from transaction control' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox