You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever 2. occurs between 3. and 1. this error is going to be triggered. I believe there needs to be a mutex protecting it, or alternatively use atomic pointers and update both the model and matrixFactorization atomically.
The text was updated successfully, but these errors were encountered:
Gorse version
Latest nightly
Describe the bug
I'm not seeing collaborative recommendations being created for most users, only a very small fraction appears to succeed.
I'm seeing workers crash a lot with this error:
To Reproduce
I believe it to be a race condition, but not sure under which circumstances exactly it triggers.
w.matrixFactorization
is nil here:gorse/worker/worker.go
Line 620 in ec03de6
It's set to nil here:
gorse/worker/worker.go
Line 276 in ec03de6
It's supposed to be created here:
gorse/worker/worker.go
Line 545 in ec03de6
Whenever
2.
occurs between3.
and1.
this error is going to be triggered. I believe there needs to be a mutex protecting it, or alternatively use atomic pointers and update both the model and matrixFactorization atomically.The text was updated successfully, but these errors were encountered: