After updating instant client getting "ORA-24490: error while getting shard instances"
I am writing a client in C which connects to a Oracle Sharded DB, after updating the instant client libraries to version 21.3 the app can't manage to connect to the DB, the error I'm getting is:
"ORA-24490: error while getting shard instances"
The way I'm setting the sharding key is as follows:
static void get_session(const void *key, unsigned long keysize, struct db_context_t *ctx) { sword error; if (ctx->session != NULL) { uint64_t t_session = current_time_us(); stats_tick(&global->stats.db_session_released_in_get_session, t_session); release_session(ctx); } OCIERROR(ctx->hp, OCIShardingKeyReset((void *)ctx->shardKey, ctx->hp, OCI_DEFAULT)); OCIERROR(ctx->hp, OCIShardingKeyColumnAdd(ctx->shardKey, ctx->hp,