Improvements here and there about notary deposits. #184

Merged
fyrchik merged 4 commits from carpawell/frostfs-node:fix/notary-deposit into master 2023-03-29 10:34:55 +00:00
Contributor

Fixes an infinite IR reload if IR is killed too soon after it started.

Fixes an infinite IR reload if IR is killed __too soon__ after it started.
carpawell self-assigned this 2023-03-28 16:07:02 +00:00
carpawell force-pushed fix/notary-deposit from 307bdd73b2 to a298333622 2023-03-28 16:07:47 +00:00 Compare
carpawell requested review from storage-core-committers 2023-03-28 16:08:08 +00:00
carpawell requested review from storage-core-developers 2023-03-28 16:08:08 +00:00
fyrchik approved these changes 2023-03-28 16:39:49 +00:00
@ -108,3 +115,3 @@
}
func parseNotaryConfigs(cfg *viper.Viper, withSideNotary, withMainNotary bool) (main, side *notaryConfig) {
func parseNotaryConfigs(withSideNotary, withMainNotary bool) (main, side *notaryConfig) {
Owner

Is it really parse after this?

Is it really `parse` after this?
Author
Contributor

dropped "parse" word, think it is the best thing that fits that PR

dropped "parse" word, think it is the best thing that fits that PR
fyrchik marked this conversation as resolved
@ -138,6 +138,8 @@ func (s *subscriber) routeNotifications(ctx context.Context) {
zap.String("name", notifyEvent.Name),
)
fmt.Println("DEBUG: got notification")
Owner

Wow!

Wow!
Owner

If it is useful, maybe add a debug log before the switch? And remove one specific for notification events.

If it _is_ useful, maybe add a debug log before the switch? And remove one specific for notification events.
Author
Contributor

oh, nonono, not that necessary, artifact from another branch, fixed

oh, nonono, not that necessary, artifact from another branch, fixed
fyrchik marked this conversation as resolved
carpawell force-pushed fix/notary-deposit from a298333622 to 2136d8cdff 2023-03-29 07:11:59 +00:00 Compare
carpawell force-pushed fix/notary-deposit from 2136d8cdff to 7b360f449f 2023-03-29 07:22:58 +00:00 Compare
carpawell requested review from fyrchik 2023-03-29 07:40:32 +00:00
dstepanov-yadro approved these changes 2023-03-29 07:51:18 +00:00
fyrchik approved these changes 2023-03-29 10:34:45 +00:00
fyrchik merged commit e843e7f090 into master 2023-03-29 10:34:55 +00:00
fyrchik referenced this pull request from a commit 2023-03-29 10:34:55 +00:00
carpawell deleted branch fix/notary-deposit 2023-03-29 14:04:41 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#184
No description provided.