function db_ignore_slave

cis7 db_ignore_slave()
cle7 db_ignore_slave()
elmsmedia7 db_ignore_slave()
icor7 db_ignore_slave()
meedjum_blog7 db_ignore_slave()
mooc7 db_ignore_slave()

Sets a session variable specifying the lag time for ignoring a slave server.

9 calls to db_ignore_slave()
comment_save in modules/comment/comment.module
Accepts a submission of new or changed comment content.
EntityAPIController::delete in sites/all/modules/ulmus/entity/includes/
Implements EntityAPIControllerInterface.
EntityAPIController::save in sites/all/modules/ulmus/entity/includes/
Implements EntityAPIControllerInterface.
LTIToolProviderConsumerEntityController::save in sites/all/modules/ulmus/lti_tool_provider/LTIToolProviderConsumerEntityController.class.php
Save a consumer.
LTIToolProviderMembershipsContextEntityController::save in sites/all/modules/ulmus/lti_tool_provider/lti_tool_provider_memberships/LTIToolProviderMembershipsContextEntityController.class.php
Save a memberships context entity.

... See full list


includes/database/, line 3027
Core systems for the database layer.


function db_ignore_slave() {
  $connection_info = Database::getConnectionInfo();
  // Only set ignore_slave_server if there are slave servers being used, which
  // is assumed if there are more than one.
  if (count($connection_info) > 1) {
    // Five minutes is long enough to allow the slave to break and resume
    // interrupted replication without causing problems on the Drupal site from
    // the old data.
    $duration = variable_get('maximum_replication_lag', 300);
    // Set session variable with amount of time to delay before using slave.
    $_SESSION['ignore_slave_server'] = REQUEST_TIME + $duration;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.