Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: add support for peer updates to tailnet.configMaps#11487

New issue

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

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
spikecurtis merged 1 commit intomainfromspike/10533-configmaps-peerupdates
Jan 11, 2024

Conversation

spikecurtis
Copy link
Contributor

Adds support to configMaps to handle peer updates including lost and disconnected peers

@spikecurtisGraphite App
Copy link
ContributorAuthor

spikecurtis commentedJan 8, 2024
edited
Loading

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@spikecurtis and the rest of your teammates onGraphiteGraphite

@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-initial branch from032d52d tob03a760CompareJanuary 9, 2024 08:10
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-peerupdates branch fromd744013 to76ec6f7CompareJanuary 9, 2024 08:10
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-initial branch fromb03a760 to6f37b9bCompareJanuary 9, 2024 11:37
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-peerupdates branch from76ec6f7 to2baf90fCompareJanuary 9, 2024 11:37
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-peerupdates branch from2baf90f to3844f8aCompareJanuary 10, 2024 04:58
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-initial branch from6f37b9b to0ec3722CompareJanuary 10, 2024 06:10
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-peerupdates branch from3844f8a toe01bbcfCompareJanuary 10, 2024 06:14
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-initial branch 2 times, most recently fromd013264 to018e3b8CompareJanuary 10, 2024 06:51
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-peerupdates branch frome01bbcf toa02de8bCompareJanuary 10, 2024 06:51
Base automatically changed fromspike/10533-configmaps-initial tomainJanuary 10, 2024 06:58
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-peerupdates branch 2 times, most recently from40c72c2 to3b8d264CompareJanuary 10, 2024 11:55
var lastHandshake time.Time
if ps, ok := status.Peer[node.Key]; ok {
lastHandshake = ps.LastHandshake
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a situation a peer would be missing from theconfigMaps peer list but still be in the engine's peer list?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Yeah, immediately after receiving a DISCONNECTED update, we remove it from configMaps. Then until the next update it'll be in the engine but not configMaps. Probably an edge case for us to DISCONNECT and then immediately get a new NODE update, though.

// Then: we don't configure
requireNeverConfigures(ctx, t, uut)

p1ID := uuid.MustParse("10000000-0000-0000-0000-000000000000")
Copy link
Contributor

Choose a reason for hiding this comment

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

A nice shorthand for this isuuid.UUID{1}

spikecurtis reacted with thumbs up emoji
@spikecurtisspikecurtisforce-pushed thespike/10533-configmaps-peerupdates branch from3b8d264 tob573a10CompareJanuary 11, 2024 05:01
@spikecurtisspikecurtis merged commit617ecbf intomainJan 11, 2024
@spikecurtisspikecurtis deleted the spike/10533-configmaps-peerupdates branchJanuary 11, 2024 05:11
@spikecurtisGraphite App
Copy link
ContributorAuthor

Merge activity

@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 11, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@coadlercoadlercoadler approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@spikecurtis@coadler

[8]ページ先頭

©2009-2025 Movatter.jp