Commit a68b74f
fix(shard-distributor): remove trimming of prefixes (#7490)
<!-- Describe what has changed in this PR -->
**What changed?**
Reverting the trimprefix since we are using constants to compare the
values that include that
<!-- Tell your future self why have you made these changes -->
**Why?**
Constants that include the prefix are used to
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
Deployed in staging
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
Corruption of db, which is already the case.
<!-- Is it notable for release? e.g. schema updates, configuration or
data migration required? If so, please mention it, and also update
CHANGELOG.md -->
**Release notes**
<!-- Is there any documentation updates should be made for config,
https://cadenceworkflow.io/docs/operation-guide/setup/ ? If so, please
open an PR in https://github.com/cadence-workflow/cadence-docs -->
**Documentation Changes**
---------
Signed-off-by: edigregorio <[email protected]>
Signed-off-by: Gaziza Yestemirova <[email protected]>1 parent 6b28caa commit a68b74f
File tree
3 files changed
+57
-57
lines changed- common/types
- service/sharddistributor/store/etcd/etcdtypes
3 files changed
+57
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 55 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments