Fix race on creating counter and other triemap anti-pattern fixes.
2 files changed