Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Server] one_result_per_user_per_wu potentially broken #4303

Closed
polymetric opened this issue Mar 31, 2021 · 4 comments
Closed

[Server] one_result_per_user_per_wu potentially broken #4303

polymetric opened this issue Mar 31, 2021 · 4 comments

Comments

@polymetric
Copy link

polymetric commented Mar 31, 2021

Describe the bug
The server configuration option one_result_per_user_per_wu seems to not function as expected. I've seen 3 separate BOINC servers that have this option enabled and some users get two tasks from the same workunit. If the one_result_per_host_per_wu option is not enabled, a single host can get both tasks from a workunit:
Screenshot_from_2021-03-29_15-13-09
I spoke with the SiDock@home admin and, at the time of that log entry, one_result_per_user_per_wu was enabled but one_result_per_host_per_wu was not.

Affected Projects

  • Minecraft@Home
  • SiDock@home
  • my own private BOINC instance

Steps To Reproduce

  1. Enable the rule one_result_per_user_per_wu in config.xml.
  2. Wait for some new tasks to be distributed.
  3. Go to the ops panel, click 'Workunits' under 'Browse database', then paste this into the 'additional clauses' box: id in (select r.workunitid from result r join result r2 on r.workunitid = r2.workunitid and r.hostid <> r2.hostid and r.userid = r2.userid)
  4. Alternatively, in a clean BOINC server test environment, simply attach one host and watch as it gets both replications.

Expected behavior
The query should return no results - hosts should not get two results from the same workunit.

Screenshots
my BOINC instance:
firefox_2021-03-31_05-17-05_7547
Minecraft@Home:
1guy2results
SiDock@home:
Screenshot_from_2021-03-29_15-13-09

System Information

Additional Context
Minecraft@Home config.xml: https://github.com/minecrafthome/minecrafthome/blob/master/images/makeproject/project/config.xml#L35

Feel free to ask for additional clarification if I missed anything!

@davidpanderson
Copy link
Contributor

Do you happen to know if both results were returned in a single scheduler request?

@polymetric
Copy link
Author

That I don't know, sorry.

@AenBleidd
Copy link
Member

@lfield, is there any chance you could try to take a look at this issue?

@lfield
Copy link
Contributor

lfield commented Oct 11, 2022

I can not reproduce this issue on LHC@home dev. I notice that those two projects are not running the latest code.

@AenBleidd AenBleidd closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2022
@AenBleidd AenBleidd added this to Server Aug 14, 2023
@AenBleidd AenBleidd moved this to Done in Server Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

4 participants