From: Konstantin Osipov <kostja@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Georgy Kirichenko <georgy@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH] Raise an error if remote transaction produces non-local changes
Date: Wed, 20 Mar 2019 18:40:02 +0300 [thread overview]
Message-ID: <20190320154002.GE6612@chai> (raw)
In-Reply-To: <b11fef09b87c1b36ba6f16906468fd374abd2c9e.1553074444.git.georgy@tarantool.org>
* Georgy Kirichenko <georgy@tarantool.org> [19/03/20 13:23]:
> + if (txn->n_remote_rows > 0 && stmt->row->replica_id == 0 &&
> + stmt->space->def->opts.group_id != GROUP_LOCAL) {
> + diag_set(ClientError, ER_UNSUPPORTED,
> + "transaction", "mixing local and remote changes");
> + goto fail;
> + }
Would it be possible to move this check to the applier so that it
does not affect the main scenario?
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
next prev parent reply other threads:[~2019-03-20 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-20 10:20 [tarantool-patches] " Georgy Kirichenko
2019-03-20 15:40 ` Konstantin Osipov [this message]
2019-03-20 20:30 ` [tarantool-patches] " Георгий Кириченко
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=20190320154002.GE6612@chai \
--to=kostja@tarantool.org \
--cc=georgy@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH] Raise an error if remote transaction produces non-local changes' \
/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