An entity with the same id and type is already in state 'TRANSIENT

Hi, We are attempting to migrate from camunda version 7.10 to 7.14. We are seeing below error when we enable history ex:
camunda.bpm.history-level=Audit

if camunda.bpm.history-level=None then we are not seeing any errors.

Env: Java8, Spring boot 2.3.12.RELEASE, Camunda 7.14.0-ee

Error:
ENGINE-16004 Exception while closing command context: ENGINE-03002 Cannot add TRANSIENT entity with id ‘d6daa6da-71bb-11ed-95b5-16856504002a’ and type ‘class org.camunda.bpm.engine.impl.history.event.HistoricProcessInstanceEventEntity’ into cache. An entity with the same id and type is already in state ‘TRANSIENT’"},“context”:{“idp-trace-id”:“208c8f256673c2e5:208c8f256673c2e5:0:1”},“exTrace”:"org.camunda.bpm.engine.ProcessEngineException: ENGINE-03002 Cannot add TRANSIENT entity with id ‘d6daa6da-71bb-11ed-95b5-16856504002a’ and type ‘class org.camunda.bpm.engine.impl.history.event.HistoricProcessInstanceEventEntity’ into cache. An entity with the same id and type is already in state ‘TRANSIENT’\n\tat org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.entityCacheDuplicateEntryException(EnginePersistenceLogger.java:95)\n\tat org.camunda.bpm.engine.impl.db.entitymanager.cache.DbEntityCache.putInternal(DbEntityCache.java:213)\n\tat org.camunda.bpm.engine.impl.db.entitymanager.cache.DbEntityCache.putTransient(DbEntityCache.java:157)\n\tat org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.insert(DbEntityManager.java:530)\n\tat org.camunda.bpm.engine.impl.history.handler.DbHistoryEventHandler.insertOrUpdate(DbHistoryEventHandler.java:66)\n\tat org.camunda.bpm.engine.impl.history.handler.DbHistoryEventHandler.handleEvent(DbHistoryEventHandler.java:49)\n\tat org.camunda.bpm.engine.impl.history.handler.CompositeHistoryEventHandler.handleEvent(CompositeHistoryEventHandler.java:96)\n\tat org.camunda.bpm.engine.impl.history.event.HistoryEventProcessor.processHistoryEvents(HistoryEventProcessor.java:79)\n\tat org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.fireHistoricProcessStartEvent(ExecutionEntity.java:498)\n\tat org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.start(PvmExecutionImpl.java:275)\n\tat org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:458)\n\tat org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.start(PvmExecutionImpl.java:263)\n\tat org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:66)\n\tat org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:38)\n\tat org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)\n\tat org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)\n\tat org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46)\n\tat org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)\n\tat org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44)\n\tat org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)\n\tat org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)\n\tat org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)\n\tat org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.executeWithVariablesInReturn(ProcessInstantiationBuilderImpl.java:166)\n\tat org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:132)\n\tat org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:128)\n\tat org.camunda.bpm.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:117)