Skip to content
Snippets Groups Projects
  • Vladimir Davydov's avatar
    cdf3ed8f
    Introduce blackhole engine · cdf3ed8f
    Vladimir Davydov authored
    Blackhole is a very simple engine that allows to create spaces that may
    written to, but not read from. It only supports INSERT/REPLACE requests.
    It doesn't support any indexes hence SELECT is impossible. It does check
    space format though and supports on_replace and before_replace triggers.
    
    The whole purpose of this new engine is writing arbitrary rows to WAL
    without storing them anywhere. In particular, we need this engine to
    write deferred DELETEs generated for vinyl spaces to WAL.
    
    Needed for #2129
    cdf3ed8f
    History
    Introduce blackhole engine
    Vladimir Davydov authored
    Blackhole is a very simple engine that allows to create spaces that may
    written to, but not read from. It only supports INSERT/REPLACE requests.
    It doesn't support any indexes hence SELECT is impossible. It does check
    space format though and supports on_replace and before_replace triggers.
    
    The whole purpose of this new engine is writing arbitrary rows to WAL
    without storing them anywhere. In particular, we need this engine to
    write deferred DELETEs generated for vinyl spaces to WAL.
    
    Needed for #2129