ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Erroneous Baseline Topology documentation
Date Tue, 03 Jul 2018 19:30:11 GMT
Prachi,

I do remember that that code, Ivan is referring to, worked fine for you.
Please double check. Probably you need to add "ignite.cluster.activate()"
to the code snippet.

--
Denis

On Tue, Jul 3, 2018 at 12:19 PM Ivan Rakov <ivan.glukos@gmail.com> wrote:

> Igniters,
>
> Seems like we have an inconsistency in our Baseline Topology
> documentation:
>
> https://apacheignite.readme.io/docs/baseline-topology#section-setting-the-topology-from-code
>
> > Java developers can use the IgniteCluster interface to initialize the
> > very first baseline topology or to adjust an existing one. The sample
> > below shows how to add all the existing server nodes to the baseline
> > topology:‚Äč
> > // Connecting to the cluster.
> > Ignite ignite = Ignition.start();
> >
> > // Setting the baseline topology to a specific Ignite cluster topology
> > version.
> > ignite.cluster().setBaselineTopology(2);
> This is not true; baseline topology can't be changed on inactive
> cluster. The only viable way to initialize the very first baseline
> topology is manual cluster activation. This is correctly explained in
> this section:
>
> https://apacheignite.readme.io/docs/baseline-topology#section-first-cluster-startup
>
> --
> Best Regards,
> Ivan Rakov
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message