CMR startup hangs with influxDB feature

Description

experienced that the CMR startup hangs for a while (takes longer) if the influxDB feature has been activated in inspectIT but the influxDB is not running (potentially due to waiting for a ping timeout). tried to reproduce this effect, but did not experience this. So this issue needs additional testing.

This issue was extracted from

Environment

None

Activity

Show:
Technical User
November 22, 2016, 2:56 PM

SUCCESS: Integrated in

inspectIT - Integration #220
INSPECTIT-2221: CMR startup hangs with influxDB feature (ivan.senic: d08b0b81da3323c7e632a4ea348148bdb1ca560b)

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/processor/impl/InfluxProcessor.java

  • (add) inspectit.ui.rcp/src/main/resources/icons/eclipse/record_green.gif

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/service/InfluxDBService.java

  • (delete) inspectit.server/src/main/java/rocks/inspectit/server/influx/dao/IInfluxDBDao.java

  • (edit) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/InspectITImages.java

  • (add) inspectit.server/src/main/java/rocks/inspectit/server/influx/util/InfluxQueryFactory.java

  • (add) inspectit.server/src/test/java/rocks/inspectit/server/influx/util/InfluxQueryFactoryTest.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/alerting/ThresholdChecker.java

  • (delete) inspectit.server/src/main/java/rocks/inspectit/server/influx/dao/InfluxQueryFactory.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/service/InvocationDataAccessService.java

  • (edit) inspectit.server/src/test/java/rocks/inspectit/server/alerting/ThresholdCheckerTest.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/service/CmrManagementService.java

  • (add) inspectit.server/src/test/java/rocks/inspectit/server/influx/dao/impl/InfluxDBDaoTest.java

  • (add) inspectit.server/src/test/java/rocks/inspectit/server/influx/util/InfluxClientFactoryTest.java

  • (delete) inspectit.server/src/test/java/rocks/inspectit/server/influx/dao/InfluxQueryFactoryTest.java

  • (add) inspectit.server/src/test/java/rocks/inspectit/server/influx/InfluxAvailabilityCheckerTest.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/influx/dao/impl/InfluxDBDao.java

  • (edit) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/form/CmrRepositoryPropertyForm.java

  • (edit) inspectit.server/src/test/java/rocks/inspectit/server/processor/impl/InfluxProcessorTest.java

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/communication/data/cmr/CmrStatusData.java

  • (add) inspectit.server/src/main/java/rocks/inspectit/server/influx/InfluxAvailabilityChecker.java

  • (add) inspectit.server/src/main/java/rocks/inspectit/server/influx/util/InfluxClientFactory.java
    INSPECTIT-2221: Moving/Refactoring InfluxDbDao to another package (ivan.senic: 72db0ab5d5d3eac517cf01554f43378c4e5762eb)

  • (edit) inspectit.server/src/test/java/rocks/inspectit/server/processor/impl/InfluxProcessorTest.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/processor/impl/InfluxProcessor.java

  • (add) inspectit.server/src/test/java/rocks/inspectit/server/influx/dao/InfluxDBDaoTest.java

  • (delete) inspectit.server/src/test/java/rocks/inspectit/server/influx/dao/impl/InfluxDBDaoTest.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/service/CmrManagementService.java

  • (add) inspectit.server/src/main/java/rocks/inspectit/server/influx/dao/InfluxDBDao.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/service/InfluxDBService.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/service/InvocationDataAccessService.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/alerting/ThresholdChecker.java

  • (delete) inspectit.server/src/main/java/rocks/inspectit/server/influx/dao/impl/InfluxDBDao.java

  • (edit) inspectit.server/src/test/java/rocks/inspectit/server/alerting/ThresholdCheckerTest.java

Marius Oehler
October 26, 2016, 9:51 AM

I've also added an indicator to the UI's CMR status which informs about the Influx status.

Ivan Senic
October 25, 2016, 12:01 PM

: Also one potential small ticket, plus it goes into the monitoring story.

Fixed

Assignee

Marius Oehler

Reporter

Alexander Wert

Integrator

Ivan Senic