ACCUMULO-2872 synchronize access to lastCompactId