Thread-based multitenancy on Groonga