Summary: | rebuild_zebra.pl should reset the indexes with -r even if zebraqueue empty | ||
---|---|---|---|
Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Component: | Command-line Utilities | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | kyle.m.hall |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: | Bug 10399 - rebuild_zebra.pl should reset the indexes with -r even if zebraqueue empty |
Description
Tomás Cohen Arazi (tcohen)
2013-06-04 13:08:13 UTC
Created attachment 18639 [details] [review] Bug 10399 - rebuild_zebra.pl should reset the indexes with -r even if zebraqueue empty This patch add the reset_indexes sub to the rebuild_zebra.pl script. And changes the scripts' logic to run it in case -r was passed and there are no records pending on the zebraqueue table. Regards To+ Test plan please. I cannot find a situation that triggers the new sub! I tried misc/migration_tools/rebuild_zebra.pl -b -v -r -s |