Revert "CORE-1858"

This reverts commit 284cd20f66f4d3d1f1be2249dc9f2445148c1b14.
Revert "Optimize StandardChangeLogHistoryService"

This reverts commit 36ad4e5ef093078bb822bf6d8445f658d4cf88c1.
Revert "Optimize StandardChangeLogHistoryService"

This reverts commit b162485745ed033ea4418b53ee974782617e8127.
Revert "Optimize StandardLockService"

This reverts commit bc9ccfbf3c8e0e191c84211b310f31952d3a4000.