Skip to content

Commit

Permalink
CHASM: Fix default sharding function (#7214)
Browse files Browse the repository at this point in the history
## What changed?
<!-- Describe what has changed in this PR -->
Fix default sharding function.

## Why?
<!-- Tell your future self why have you made these changes -->
Made a typo in my previous PR #7184.
  • Loading branch information
alexshtin authored Feb 1, 2025
1 parent feb0785 commit 5ad297b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chasm/ref.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

var (
defaultShardingFn = func(key EntityKey) string { return key.NamespaceID + "_" + key.EntityID }
defaultShardingFn = func(key EntityKey) string { return key.NamespaceID + "_" + key.BusinessID }
)

type EntityKey struct {
Expand Down

0 comments on commit 5ad297b

Please sign in to comment.