You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, shards doesn't behaves well when tables are ordered_set type, because results are sorted per shards, but not at global level (across all configured shards). The same problem happens with shards_dist across different node.
NOTE: This might be tricky to solve.
The text was updated successfully, but these errors were encountered:
There is a workaround for this issue, and it is when a new ordered_set is created, force the number of shards to one, so with a single shard it will behave as a normal ETS ordered_set. The downside is that we would lose all benefits of shards, in case of ordered_set wouldn't make any difference to ETS. But for now, this fix will keep the correct behaviour of ordered_set – a better solution might be implemented afterwards.
Currently,
shards
doesn't behaves well when tables areordered_set
type, because results are sorted per shards, but not at global level (across all configured shards). The same problem happens withshards_dist
across different node.The text was updated successfully, but these errors were encountered: