MySQL 26.7.0
Source Code Documentation
log0handler_interface.h File Reference
#include <array>
#include "ha0sys_var_handler_interface.h"
#include "log0common.h"
#include "ut0dbg.h"

Go to the source code of this file.

Classes

class  ib::redo::Handler_interface
 This Redo Log Handler interface provides an abstraction over the redo log persistence and publishing of the redo log records. More...
 
struct  ib::redo::Handler_interface::Capabilities
 
struct  ib::redo::Handler_interface::Capacity_estimate
 Describes the state of the capacity in sufficient detail that InnoDB knows if it should rush with page cleaning and checkpointing. More...
 

Namespaces

namespace  ib
 
namespace  ib::redo
 

Functions

void log_free_check ()
 A wrapper for ib::redo::handler->wait_for_space(), which should be used in InnoDB code, as it verifies that InnoDB doesn't hold latches which could cause deadlocks. More...
 
Allocation and deallocation of log_sys
void ib::redo::set_handler (Handler_interface *handler)
 Sets the concrete Redo Log Handler to be used. More...
 

Variables

Handler_interface * ib::redo::handler {}
 

Function Documentation

◆ log_free_check()

void log_free_check ( )

A wrapper for ib::redo::handler->wait_for_space(), which should be used in InnoDB code, as it verifies that InnoDB doesn't hold latches which could cause deadlocks.

See also
ib::redo::Handler_interface::wait_for_space().