I have had a problem where certain things on the site weren't working properly, hook_forms wasn't calling all of the functions for example. I turned out that a module was calling variable_set() and this was causing parts of the bootstrap cache to get rebuilt inside the default drush bootstrap environment. As a consequence there were several items in the module_implements cache that were disappearing. After about a month of tearing my hair out I figured out what was happening. I added the bootstrap key to the elysia_cron.drush.inc file and it seems to have fixed the problem.

  $items['elysia-cron'] = array(
    'description' => "Run all cron hooks in all active modules for specified site using elysia cron system. Use this instead of \"core-cron\" if elysia_cron module is installed",
    'callback'    => 'drush_elysia_cron_run_wrapper',
    'arguments' => array(),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
  );

Comments

dlumberg’s picture

I'm cross posting here because I think this may be the cause of this core bug:

https://drupal.org/node/1934192

kala4ek’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Assigned: Unassigned » kala4ek
Issue summary: View changes

  • kala4ek committed 4a3eb11 on 7.x-2.x
    Issue #2023586 by dlumberg, kala4ek: Drush bootstrap level can cause...
kala4ek’s picture

Assigned: kala4ek » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.