[tarantool-patches] Re: [PATCH 5/6] space: call before_replace trigger even if space has no indexes

  • From: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
  • To: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • Date: Sat, 21 Jul 2018 15:26:52 +0300

On Fri, Jul 20, 2018 at 09:39:09PM +0300, Konstantin Osipov wrote:

* Vladimir Davydov <vdavydov.dev@xxxxxxxxx> [18/07/20 20:45]:
Needed for blackhole spaces (see the next patch), which don't support
indexes per se, but still may have a before_replace trigger installed.

Why do you need to enable before replace triggers for blackhole?

Why not? before_replace can be installed on a blackhole space so
I guess it should work, otherwise it may raise questions.

What's wrong with on_replace triggers?

Nothing wrong at all. They work as well.

Other related posts: