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
MDB_KEYEXIST errors #3
Comments
|
I did |
|
Hmm... Those empty repos really are a pain... Also, you seem to have a fast machine ^^ |
|
Looking through the 'issues' reports, I've found that one of our packages uses the same |
|
No exceptions! So that seems to have fixed it. Thanks for your great responsiveness on this and the other issues. Yes, this is a nice machine. i7 overclocked to 4.7GHz equivalent, 16GB RAM, 500GB SSD used as a bcache to a larger HD. The |
|
Neat :-) The plan is do add some code later to remove duplications like this by emitting appropriate issue hints. |
|
These exceptions are still occurring for me, especially when re-running after nothing has changed (presumably because that's a lot faster so there's more parallel processing going on). I looked at what you'd done in Also, I think this does affect the extraction itself because the exception seems to abort the processing of an entire section. |
Definitely ;-) I think you run asgen much more often than anyone before, on a much faster machine, that's why your processing finishes too quick ;-) One possible permanent fix for this is to turn the key-value nature of the statistics sub-database into some log-like behavior, allowing multiple values per key. That just needs to be represented properly in the UI, so the second option, which I prefer at time, is to extend the existing value at the given time with new data. |
|
The latest change in master should fix this problem without hacks now :) |
It does away with the errors, yes, but isn't there still a problem? At BTW, I've figured out the main reason why I was hitting this error. I often re-run the generator when there haven't been any changes to the repo (remember this is a small, 3rd-party repo that doesn't get updates every day) so the generation run is very quick. The whole thing takes under 3 seconds so of course there are a lot of conflicts since I have a total of 128 sections ( |
|
Why it happens was completely obvious to me ^^ |
|
I'm happy to test, but I'm not seeing any new commits yet. Did you forget to push? |
|
I just pushed something else, so the answer is: Yes, maybe ^^ |
|
It looks good so far, but I need to look at the results a bit more and I've run out of time for today. I'll carry on next week. |
|
I tested bffb451 and it all seems good. Thanks for fixing this. |
|
BTW, I think you could delete the wording about being too fast now: // we were too fast! - add the new data to this point in time
logDebug ("Attempted to add statistics at the exact same time when we have already added some. We are suspiciously fast...");If the data is already cached, we should be fast. |
When I run
asgenon my full repo (which has some empty sections) I get exceptions as follows:This occurs 8 times, and I have 8 suites configured:
{trusty,xenial}{,-{updates,proposed,experimental}}This may be coincidence, but we do often have the same package appear in multiple suites if it's arch-independent and simply hasn't needed a rebuild recently.
Here's the complete output of the
asgenrun: asgen-out.txt.zipIf you need access to the entire repository, I can give you anonymous rsync access — PM me for details. It's about 8.5GB.
The text was updated successfully, but these errors were encountered: