Skip to content

Commit

Permalink
Addressed some of the further comments...
Browse files Browse the repository at this point in the history
  • Loading branch information
bargenilesh committed Jun 19, 2017
1 parent 36fa05a commit 4009518
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ public void createExperiment(NewExperiment newExperiment, UserInfo user) {
validator.validateNewExperiment(newExperiment);
try {

//Step#2: Create experiment in MySQL
//Step#2: Create experiment in MySQL first (before Cassandra) so that duplicate experiment
//concern would be addressed automatically. As, AppName and experiment label have a unique constraint
//set in MySQL table.
LOGGER.debug("Creating an experiment in MySQL...");
databaseRepository.createExperiment(newExperiment);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public class CassandraExperimentRepository implements ExperimentRepository {

private ExperimentTagAccessor experimentTagAccessor;

//@TODO This and other accessors can be declared final as/if they are being Injected in constructor using guice.
private PrioritiesAccessor prioritiesAccessor;

/**
Expand Down

0 comments on commit 4009518

Please sign in to comment.