Add support for more levels of global locks.
authorPetr Jelinek <pjmodos@pjmodos.net>
Tue, 5 May 2015 15:35:30 +0000 (17:35 +0200)
committerPetr Jelinek <pjmodos@pjmodos.net>
Tue, 5 May 2015 15:35:30 +0000 (17:35 +0200)
commit10b331fead29e52582b819c23330820ac11b3abd
treed824af914f2e8b90a6f1c9cad6cac632f7511950
parent21794e0348f9ba8bac8e5c500294eac43155756a
Add support for more levels of global locks.

The old ddl_lock was replaced by ddl_lock and write_lock.
The ddl_lock now only locks database against concurrent DDL but not
against writes anymore. The write_lock locks against writes the same way
old ddl_lock used to. We support upgrading the ddl_lock to write_lock at
some performance penalty (the lock needs to be negotiated again).
bdr_apply.c
bdr_commandfilter.c
bdr_locks.c
bdr_locks.h
expected/ddl/enable_ddl.out
expected/isolation/alter_table.out
specs/isolation/alter_table.spec