On 6/25/10, Jorden van der Elst <[email protected]> wrote:
> Something that came up in the Einstein forums, at
> http://einstein.phys.uwm.edu/forum_thread.php?id=8256
>
> This person saw downloads happening even while he had set Einstein to
> No new tasks. Turned out that it were server resends as he had done a
> project reset while he still had undone and unreported work. So it
> sent the work back to him.
>
> Which makes me wonder, shouldn't the NNT flag prevent all downloads,
> including resends, even while those are technically not new work?
>
> What if you're in the situation where you want to do maintenance on
> your computer, but run only some of your cache empty first? Then you
> will set all projects on NNT, perhaps reset some of them to get rid of
> the extra megabytes they occupy, while you run down only (short)
> (some) work that you do want to upload & report. So you can't set
> BOINC to Network Activity Suspended as that will prevent not only
> possible resend downloads, but also uploads & reports..

In sched/handle_request.cpp, I think resend_lost_work() should be
called only if (requesting_work() == true). Maybe by doing
if(!requesting_work()) { ok_to_send_work=false; }, since the code
already checks ok_to_send_work before resending, but I'm not sure if
it's the best way.

-- 
Nicolas
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to