Commit 03366fa
MB-68462:[BP] Fix eshell after migrating to erlang 26
We set cookie in code passed via -eval and I guess there is a race
between executing -eval and -remsh. If remsh is executed first,
then cookie will not be set by the time of connect.
This fix explicitly sets the order for those operarations:
we set the cookie first, and then start the remote shell.
Change-Id: Ie9cd9ee6b5561d2e07ee25b57f3db3787bcf42eb
Reviewed-on: https://review.couchbase.org/c/couchbase-cli/+/234795
Reviewed-by: Matt Hall <matt.hall@couchbase.com>
Well-Formed: Restriction Checker
Tested-by: Peter Searby <peter.searby@couchbase.com>1 parent f933ac9 commit 03366fa
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2322 | 2322 | | |
2323 | 2323 | | |
2324 | 2324 | | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
2325 | 2328 | | |
2326 | 2329 | | |
2327 | 2330 | | |
| |||
2330 | 2333 | | |
2331 | 2334 | | |
2332 | 2335 | | |
2333 | | - | |
2334 | | - | |
2335 | | - | |
| 2336 | + | |
| 2337 | + | |
2336 | 2338 | | |
2337 | 2339 | | |
2338 | 2340 | | |
| |||
0 commit comments