Skip to content

Is it possible to remove config dupe key race? #844

@kofalt

Description

@kofalt

I'm seeing transient CI failures with error:

(500) E11000 duplicate key error collection: scitran.singletons index: _id_ dup key: { : "config" }

Here's what I'm using to boot scitran, from an utterly clean slate:

cd /var/scitran

python /var/scitran/code/api/bin/database.py upgrade_schema

/var/scitran/uwsgi-entrypoint.sh uwsgi --ini /var/scitran/config/uwsgi-config.ini --socket "[::]:9000" --processes 4 --threads 2

Do you think there's a way to fix this transient failure?
Possible relation to #212?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions