Skip to content

Conversation

@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
@stale
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 17, 2024
@stale stale bot removed the stale label Jun 5, 2024
@stale
Copy link

stale bot commented Apr 26, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 26, 2025
@github-actions github-actions bot removed the stale label Jun 4, 2025
@k8s-ci-robot
Copy link

@serathius: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-etcd-unit-test-amd64 07bebc4 link true /test pull-etcd-unit-test-amd64
pull-etcd-unit-test-arm64 07bebc4 link true /test pull-etcd-unit-test-arm64
ci-etcd-robustness-release36-amd64 07bebc4 link true /test ci-etcd-robustness-release36-amd64
ci-etcd-robustness-release35-amd64 07bebc4 link true /test ci-etcd-robustness-release35-amd64
ci-etcd-robustness-release34-amd64 07bebc4 link true /test ci-etcd-robustness-release34-amd64
pull-etcd-govulncheck-main 07bebc4 link true /test pull-etcd-govulncheck-main

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ahrtr
Copy link
Member

ahrtr commented Jun 17, 2025

@serathius do you have bandwidth to continue to work on this PR? It's on the top of my review list now.

Comment on lines +32 to +44
type MemoryStorage struct {
// Protects access to all fields. Most methods of MemoryStorage are
// run on the raft goroutine, but Append() is run on an application
// goroutine.
sync.Mutex

hardState pb.HardState
snapshot pb.Snapshot
// ents[i] has raft log position i+snapshot.Metadata.Index
ents []pb.Entry

callStats inMemStorageCallStats
}
Copy link
Member

Choose a reason for hiding this comment

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

The struct and all its methods are copied from the raft lib. You only added stats on top of that, also added ApplyConfState. I am not sure what's the motivation.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea, this is a temporary fork of the file to add the methods I needed to make raft properly bootstrap from v3. I did it so long time ago so I'm not 100% sure that we will need it, it was just simpler to implement it.

After we make all the tests pass we can rethink if we really need to change raftstorage.

@serathius
Copy link
Member Author

serathius commented Jun 17, 2025

@serathius do you have bandwidth to continue to work on this PR? It's on the top of my review list now.

I have been doing it in my free hours, so not a lot of bandwidth, but constant work on weekends. The main problem is that I got stuck, after updating all the code I think is required it still fails some tests and I didn't have time to debug it.

Would love to get your suggestion what I missed.

@ahrtr
Copy link
Member

ahrtr commented Jun 17, 2025

I have been doing it in my free hours, so not a lot of bandwidth, but constant work on weekends. The main problem is that I got stuck, after updating all the code I think is required it still fails some tests and I didn't have time to debug it.

Thanks for working on this. Tackling such a complex task requires strong commitment, sustained deep thinking and focus over a long period, and close collaboration from other maintainers. I think progress becomes difficult when any of these elements is missing.

Could you please at least rebase this PR so we can take a look at which tests are currently failing? If you don’t currently have enough time to continue, would you be open to someone else taking over the PR?

@serathius serathius closed this Jun 17, 2025
@serathius
Copy link
Member Author

If you don’t currently have enough time to continue, would you be open to someone else taking over the PR?

Sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment