ts-resque-delta icon indicating copy to clipboard operation
ts-resque-delta copied to clipboard

New delete job running before delta finishes

Open aviramradai opened this issue 11 years ago • 1 comments

Hi pat,

Thanks for tall the great work you are doing. I tried to upgrade to the new version of ts-resque-delta, when I updated a record I got 2 jobs under the ts_delta queue. One for building the delta and one for deleting from the core index. What will happen if the delete will finish running before the delta? Will I lose records while searching while the delta job is running?

Thanks, Aviram

aviramradai avatar Jul 21 '14 09:07 aviramradai

That is correct, values will not appear if they're marked as deleted in the core index but not yet in the delta index. Hopefully this would not have an impact provided the delta updates are quick (which is aided by running a full index regularly as well).

pat avatar Jul 25 '14 12:07 pat