I need a master reset button.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | boost-578546.patch | 1.77 KB | mikeytown2 |
| #5 | boost-578546.patch | 1.64 KB | mikeytown2 |
I need a master reset button.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | boost-578546.patch | 1.77 KB | mikeytown2 |
| #5 | boost-578546.patch | 1.64 KB | mikeytown2 |
Comments
Comment #1
dbeall commentedI'm not a fan of +1 posts, but there is always an exception.(i guess)
You took the words right out of my mind from an hour ago.
Here is my first +1
EDIT:
The reset button should also have remove 'cron last' and 'cron semaphore' entry from database.
Comment #2
mikeytown2 commentedI think this code should do it.
Comment #3
dbeall commentedThank you for the function. Some of this sql stuff is starting to look familiar, sometimes... I've been going through these lessons to get some basics pounded into my brain. It's a walk through of sql for dummies http://sqlcourse2.com/intro2.html
Comment #4
dbeall commentedI also had the thought when trouble shooting that clearing watchdog or DbLog, kind of a clean slate as not to get confused with an ongoing Log.
If i have this right,
as always after a post, an after thought or footnote enters the mind..
I guess a clear DbLog button should be in the Drupal error reporting configuration page..? yes/no, All I want to do is dump the data, not uninstall it and re-install or have to goto PHPmyadmin and do it manually.
After all, we have clear cache button on Drupal performance configure page.
Comment #5
mikeytown2 commentedComment #6
dbeall commentedShared host, single domain, normal Drupal installed in sub folder. URL, debrafetty.us
Shared host, single domain, normal Drupal installed in Root. URL, arrowfence911.com
Shared and managed VPS(hotdrupal) normal Drupal installed in sub folder. URL, davebeall.com
All getting a status page error after using the clear button:
Status page:
Boost Crawler Key Not Found.
Please Run the database update, as the crawler key is not generated yet.
Run database update, same error.
Additional Notice from status page:
Re-run cron from status page(because says core update status not available, run cron manually).
AFTER re-run, update status OK
Drupal Notice: Cron ran successfully
Boost error remains:
Boost Crawler Key Not Found.
Please Run the database update, as the crawler key is not generated yet.
Comment: Should the notice and button say 'cron semaphore' or something recognizable to new users such as 'Quit Cron' or 'Re-set cron' ??
testing more sites in process..
Comment #7
mikeytown2 commentedLooks like I need to regenerate the crawler key! Thanks for testing; I'll say "Reset Cron".
Comment #8
dbeall commentedThe clear function needs to auto regenerate a crawler key? (my non-wizard guess)
You beat me to the post que..lol
Comment #9
mikeytown2 commentedComment #10
dbeall commentedanother thought.. as usual
Is there a way to keep the 'core update status' as normal after using clear function?
Comment #11
dbeall commentedone site tested, seems to be ok now
continuing tests on more sites
EDIT:
second site tested, looks ok
Comment #12
mikeytown2 commentedComment #13
dbeall commented3rd site looks good, 2 more to go.. will report back any errors if found.
The wizard has done it again!
EDIT: all my sites are working just fine with patch.. I have been jamming on it.. Stopping cron while in process with reset function and other abuses.. Still working fine.
I'm done testing this one...
Comment #14
mikeytown2 commentedyou sound like me... everyone knows 8 threads for a crawler is nuts, but when trying to create failure, it sure helps with the testing. I had to make sure the crawler was atomic; I would do 8 threads with a batch size of 1 or 2 depending on how I was feeling that day. From these tests I filed this bug #561990: Avoid variable_set() and variable_del() stampedes, and created my own variable_get & variable_set functions. Thanks for hammering this, it sounds like it works exactly how it should!
Comment #15
mikeytown2 commentedcommitted