Commit 20d3378
cluster: reset handle index on close
It allows reopening a server after it has been closed.
Fixes: #6693
PR-URL: #6981
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ron Korving <ron@ronkorving.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 09349a8 commit 20d3378Copy full SHA for 20d3378
File tree
Expand file treeCollapse file tree
3 files changed
+88
-12
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+88
-12
lines changedOpen diff view settings
Collapse file
+14-12Lines changed: 14 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
555 | 555 | |
556 | 556 | |
557 | 557 | |
558 | | - |
559 | | - |
560 | | - |
561 | | - |
562 | | - |
563 | | - |
| 558 | + |
| 559 | + |
| 560 | + |
| 561 | + |
| 562 | + |
| 563 | + |
564 | 564 | |
565 | | - |
| 565 | + |
566 | 566 | |
567 | 567 | |
568 | 568 | |
569 | | - |
| 569 | + |
570 | 570 | |
571 | 571 | |
572 | 572 | |
| ||
576 | 576 | |
577 | 577 | |
578 | 578 | |
579 | | - |
| 579 | + |
580 | 580 | |
581 | | - |
| 581 | + |
582 | 582 | |
583 | 583 | |
584 | 584 | |
| ||
590 | 590 | |
591 | 591 | |
592 | 592 | |
593 | | - |
| 593 | + |
594 | 594 | |
595 | 595 | |
596 | 596 | |
597 | 597 | |
598 | 598 | |
599 | 599 | |
600 | 600 | |
| 601 | + |
601 | 602 | |
602 | 603 | |
603 | 604 | |
| ||
606 | 607 | |
607 | 608 | |
608 | 609 | |
609 | | - |
| 610 | + |
610 | 611 | |
611 | 612 | |
612 | 613 | |
| ||
627 | 628 | |
628 | 629 | |
629 | 630 | |
| 631 | + |
630 | 632 | |
631 | 633 | |
632 | 634 | |
|
Collapse file
test/parallel/test-cluster-server-restart-none.js
Copy file name to clipboard+37Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
Collapse file
test/parallel/test-cluster-server-restart-rr.js
Copy file name to clipboard+37Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
0 commit comments