diff --git a/server/modules/routing/schemarouter/schemarouter.c b/server/modules/routing/schemarouter/schemarouter.c index ae4cbc934..9bbf6b357 100644 --- a/server/modules/routing/schemarouter/schemarouter.c +++ b/server/modules/routing/schemarouter/schemarouter.c @@ -1122,7 +1122,7 @@ static void* newSession( if (map) { - state = shard_map_update_state(router, map); + state = shard_map_update_state(map, router); } spinlock_release(&router->lock);