📝 Comment to explain why Uniqueness isn't protected by a lock

This commit is contained in:
Pierre Goiffon
2019-11-28 17:15:04 +01:00
parent ffead92d5a
commit 97c1ff55e9

View File

@@ -2003,6 +2003,8 @@ abstract class DBObject implements iDisplay
continue;
}
// No iTopMutex so there might be concurrent access !
// But the necessary lock would have a high performance cost :(
$bHasDuplicates = $this->HasObjectsInDbForUniquenessRule($sUniquenessRuleId, $aUniquenessRuleProperties);
if ($bHasDuplicates)
{