Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

test(506): regarded as a successful closure when session not found #609

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

lsytj0413
Copy link
Contributor

@lsytj0413 lsytj0413 commented Feb 19, 2025

Fix: #506

@@ -29,11 +30,7 @@ import (
// Size: Length of the payload data
// Payload: Byte stream as long as specified by the payload size.

// Idx File:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is removing a valid comment explaining the header format

"io"
"log/slog"
"strings"
"sync"
"time"

"google.golang.org/grpc/keepalive"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should move this refactoring (and all the similar) into a separate PR

@@ -46,8 +46,7 @@ func (u *useIndex) applyRangeScan(opts *rangeScanOptions) {
opts.secondaryIndexName = &u.indexName
}

// UseIndex let the users specify a different index to follow for the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing this part of the comment?

// +--------------+-----------+-----------+-----+
// | CRC(4Bytes) | Index(4B) | Index(4B) | ... |
// +--------------+-----------+-----------+-----+
// CRC: 32bit hash computed over the payload using CRC.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, we shouldn't be removing this comment

@lsytj0413
Copy link
Contributor Author

@merlimat all other changes have been removed(it was auto changed by lint).

@merlimat merlimat merged commit 899b456 into streamnative:main Feb 21, 2025
5 checks passed
@lsytj0413 lsytj0413 deleted the fix-506 branch February 22, 2025 08:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

server: too many warn logs when shard move to other node
2 participants