• Marko Mäkelä's avatar
    MDEV-12173 "Error: trying to do an operation on a dropped tablespace" · 43160723
    Marko Mäkelä authored
    InnoDB is issuing a 'noise' message that is not a sign of abnormal
    operation. The only issuers of it are the debug function
    lock_rec_block_validate() and the change buffer merge.
    While the error should ideally never occur in transactional locking,
    we happen to know that DISCARD TABLESPACE and TRUNCATE TABLE and
    possibly DROP TABLE are breaking InnoDB table locks.
    
    When it comes to the change buffer merge, the message simply is useless
    noise. We know perfectly well that a tablespace can be dropped while a
    change buffer merge is pending. And the code is prepared to handle that,
    which is demonstrated by the fact that whenever the message was issued,
    InnoDB did not crash.
    
    fil_inc_pending_ops(): Remove the parameter print_err.
    43160723
fil0fil.cc 174 KB