aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncWatchdog.java4
-rw-r--r--docs/deployment.rst4
2 files changed, 5 insertions, 3 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncWatchdog.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncWatchdog.java
index 5b71a8af70..32e1c49f17 100644
--- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncWatchdog.java
+++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncWatchdog.java
@@ -92,7 +92,7 @@ public class ModuleSyncWatchdog {
*/
public void populateWorkQueueIfNeeded() {
if (moduleSyncWorkQueue.isEmpty() && cpsAndNcmpLock.tryLock(MODULE_SYNC_WORK_QUEUE_LOCK_NAME)) {
- log.info("Lock acquired by thread : {}", Thread.currentThread().getName());
+ log.debug("Lock acquired by thread : {}", Thread.currentThread().getName());
try {
populateWorkQueue();
if (moduleSyncWorkQueue.isEmpty()) {
@@ -100,7 +100,7 @@ public class ModuleSyncWatchdog {
}
} finally {
cpsAndNcmpLock.unlock(MODULE_SYNC_WORK_QUEUE_LOCK_NAME);
- log.info("Lock released by thread : {}", Thread.currentThread().getName());
+ log.debug("Lock released by thread : {}", Thread.currentThread().getName());
}
}
}
diff --git a/docs/deployment.rst b/docs/deployment.rst
index 9823fa2f8a..2a17e30a16 100644
--- a/docs/deployment.rst
+++ b/docs/deployment.rst
@@ -357,5 +357,7 @@ Below are the list of distributed datastructures that we have.
| cps-ncmp | moduleSetTagsBeingProcessed | Track module set tags which are processed to prevent |
| | | multiple threads working with same tag. |
+--------------+------------------------------------+-----------------------------------------------------------+
+| cps-ncmp | cpsAndNcmpLock | Cps and NCMP distributed lock for various use cases. |
++--------------+------------------------------------+-----------------------------------------------------------+
-Total number of caches : 7
+Total number of caches : 8