s"Deletion of record ${record.recordId} in Elasticsearch index $esIndex successful${if (record.dryRun) "(dry-runmode)"
s"Deletion of record $recordId in Elasticsearch index $esIndex successful${if (record.dryRun) "(dry-runmode)"
else ""}"
)
record.setRecordStatus(
...
...
@@ -105,7 +107,7 @@ trait MemobaseElasticClient {
)
case_:RequestSuccess[_]=>
logger.debug(
s"Deletion of record ${record.recordId} in Elasticsearch index $esIndex failed since record does not exist${if (record.dryRun) "(dry-runmode)" else ""}"
s"Deletion of record $recordId in Elasticsearch index $esIndex failed since record does not exist${if (record.dryRun) "(dry-runmode)" else ""}"
)
record.setRecordStatus(
ProcessingIgnore,
...
...
@@ -114,7 +116,7 @@ trait MemobaseElasticClient {
casefailure:RequestFailure=>
logger.warn(
s"Deletion of record ${record.recordId} in Elasticsearch index $esIndex failed${if (record.dryRun) "(dry-runmode)"
s"Deletion of record $recordId in Elasticsearch index $esIndex failed${if (record.dryRun) "(dry-runmode)"