Fix SV reward weight persistence in Vote History#5874
Open
pawelperek-da wants to merge 8 commits into
Open
Conversation
fbf17e9 to
16ece6a
Compare
pawelperek-da
commented
Jun 11, 2026
| } yield ResultsPage(recentVoteResults, afterToken) | ||
| } | ||
|
|
||
| override def lookupLatestSvRewardWeightChange( |
Contributor
Author
There was a problem hiding this comment.
Limit (cost=1.74..1.75 rows=1 width=1057) (actual time=0.182..0.183 rows=0 loops=1)
--
Buffers: shared hit=55
-> Sort (cost=1.74..1.75 rows=1 width=1057) (actual time=0.181..0.181 rows=0 loops=1)
Sort Key: vote_effective_at DESC
Sort Method: quicksort Memory: 25kB
Buffers: shared hit=55
-> Index Scan using scan_txlog_store_sid_en_vot on scan_txlog_store (cost=0.12..1.73 rows=1 width=1057) (actual time=0.153..0.153 rows=0 loops=1)
Index Cond: (store_id = 1)
Filter: (vote_accepted AND (vote_action_name = 'SRARC_UpdateSvRewardWeight'::text) AND ((entry_data #>> '{result,request,action,value,dsoAction,value,svParty}'::text[]) = 'any-sv::1220abc'::text))
Rows Removed by Filter: 51
Buffers: shared hit=52
Planning:
Buffers: shared hit=282
Planning Time: 5.162 ms
Execution Time: 0.257 ms
5cf611a to
fdcc48d
Compare
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
fdcc48d to
baef416
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5092
Pull Request Checklist
Cluster Testing
/cluster_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./upgrade_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./hdm_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./lsu_teston this PR to request it, and ping someone with access to the DA-internal system to approve it.PR Guidelines
Fixes #n, and mention issues worked on using#nMerge Guidelines