Skip to content

Commit

Permalink
fix issue with duplicate experiment_id while running parallel experim…
Browse files Browse the repository at this point in the history
…ents with time-range

Signed-off-by: Saad Khan <[email protected]>
  • Loading branch information
khansaad committed Nov 29, 2024
1 parent 268063a commit 93bdb96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class ExperimentDAOImpl implements ExperimentDAO {
private static final Logger LOGGER = LoggerFactory.getLogger(ExperimentDAOImpl.class);

@Override
public ValidationOutputData addExperimentToDB(KruizeExperimentEntry kruizeExperimentEntry) {
public synchronized ValidationOutputData addExperimentToDB(KruizeExperimentEntry kruizeExperimentEntry) {
ValidationOutputData validationOutputData = new ValidationOutputData(false, null, null);
Transaction tx = null;
String statusValue = "failure";
Expand Down

0 comments on commit 93bdb96

Please sign in to comment.