(DOC-1458) db:raw:optimize rake task does not work in 3.7