src/backend/gc/gc_manager.cpp
// Starts the GC based on the GC mode
Starts the GC based on the GC mode
Starts the GC based on the GC mode
void GCManager::StartGC() {
  if (this->gc_type_ == GC_TYPE_OFF) {
    return;
  }
  if (this->gc_type_ == GC_TYPE_VACUUM) {
    std::thread(&GCManager::Poll, this).detach();
  }
  this->is_running_ = true;
}
void GCManager :: StartGC ( ) { if ( this -> gc_type_ == GC_TYPE_OFF ) { return ; } if ( this -> gc_type_ == GC_TYPE_VACUUM ) { std :: thread ( & GCManager :: Poll , this ) . detach ( ) ; } this -> is_running_ = true ; }
Starts the GC based on the GC mode
Starts the GC based on the GC mode