SqlGeneratorFactory is not thread safe

Description

On our project we are running liquibase in multi thread mode (each schema in database update in parallel) and as result I have got error:

I think, it happens, because in time of calling method getGenerators in SqlGeneratorFactory class, we are using not thread safe structures for fields like: 'genericInterfacesCache', 'genericSuperClassCache', 'generatorsByKey'.

Please, help to resolve this issue.
Thank you in advance!

Environment

OS: Linux
Java 1.8
Liquibase 3.8.0

Status

Assignee

Unassigned

Reporter

Yauheni Sauko

Labels

None

Fix versions

Affects versions

Priority

Blocker
Configure