[tarantool-patches] Re: [PATCH] Raise an error if remote transaction produces non-local changes
Konstantin Osipov
kostja at tarantool.org
Wed Mar 20 18:40:02 MSK 2019
* Georgy Kirichenko <georgy at 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
More information about the Tarantool-patches
mailing list