Skip to content

Update juniper to restart session.#719

Closed
kraney wants to merge 1 commit into
openconfig:mainfrom
kraney:juniper-schemachange
Closed

Update juniper to restart session.#719
kraney wants to merge 1 commit into
openconfig:mainfrom
kraney:juniper-schemachange

Conversation

@kraney

@kraney kraney commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

There's a potential race when there's a schema change, that leaves a session broken. In this case, Juniper outputs "Restart session and try again."

The existing code tries again, but without restarting the session. So it is doomed to just fail again. This change notices the condition and restarts the session if it occurs. In theory that should help.

This is intended to unblock PR #717, so may need to merge in front of that one.

There's a potential race when there's a schema change, that leaves a
session broken. In this case, Juniper outputs "Restart session and try
again."

The existing code tries again, but without restarting the session. So it
is doomed to just fail again. This change notices the condition and
restarts the session if it occurs. In theory that should help.

This is intended to unblock PR openconfig#717, so may need to merge in front of
that one.
@kraney

kraney commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Withdrawing this because it did not, in fact, improve the result.

@kraney kraney closed this Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant