make quarantine and db coherent
This commit is contained in:
parent
0f659a0c1f
commit
8cc53a0428
|
@ -392,8 +392,6 @@ proc processDataColumnSidecar*(
|
|||
|
||||
debug "Data column validated, putting data column in quarantine"
|
||||
self.dataColumnQuarantine[].put(newClone(dataColumnSidecar))
|
||||
|
||||
if self.dataColumnQuarantine[].supernode == false:
|
||||
self.dag.db.putDataColumnSidecar(dataColumnSidecar)
|
||||
debug "Validated column belongs to custody, attempting to persist",
|
||||
data_column = shortLog(dataColumnSidecar)
|
||||
|
|
|
@ -541,7 +541,7 @@ proc getMissingDataColumns(rman: RequestManager): seq[DataColumnIdentifier] =
|
|||
debug "Not handling missing data columns early in slot"
|
||||
continue
|
||||
|
||||
if not rman.dataColumnQuarantine[].hasMissingDataColumns(forkyBlck):
|
||||
if rman.dataColumnQuarantine[].hasMissingDataColumns(forkyBlck):
|
||||
let missing = rman.dataColumnQuarantine[].dataColumnFetchRecord(forkyBlck)
|
||||
if len(missing.indices) == 0:
|
||||
warn "quarantine is missing data columns, but missing indices are empty",
|
||||
|
|
Loading…
Reference in New Issue