kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 7be940daff2501d2ee11c5e2daacc85a5c5d3cc41ea6c95714514b4a032969e8 |
|---|---|
| Author | Michael Figuiere <mfiguiere@datastax.com> · 2014-02-25 21:35 -08:00 |
| Committer | Michael Figuiere <mfiguiere@datastax.com> · 2014-02-25 21:35 -08:00 |
| Parents | f34fbd382447 |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/Cluster.java +1 −1
| @@ -794,6 +794,7 @@ | ||
| 794 | 794 | private synchronized void init() { |
| 795 | 795 | if (isInit) |
| 796 | 796 | return; |
| 797 | + isInit = true; | |
| 797 | 798 | |
| 798 | 799 | // Note: we mark the initial contact point as UP, because we have no prior |
| 799 | 800 | // notion of their state and no real way to know until we connect to them |
| @@ -818,7 +819,6 @@ | ||
| 818 | 819 | throw e; |
| 819 | 820 | } |
| 820 | 821 | |
| 821 | - isInit = true; | |
| 822 | 822 | } |
| 823 | 823 | |
| 824 | 824 | Cluster getCluster() { |