Somehow it is possible for a transient record in the host_transient database table to have a duplicate name value as another record. When this occurs, the TNS ingest task fails completely and no new transients can be processed.
Proposed solution: In app/host/models.py, add the unique option to the name field:
name = models.CharField(max_length=20, unique=True)
🐞 Bug Report
Describe the bug
Somehow it is possible for a transient record in the
host_transient
database table to have a duplicatename
value as another record. When this occurs, the TNS ingest task fails completely and no new transients can be processed.Proposed solution: In
app/host/models.py
, add theunique
option to thename
field: