You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Sebastian Sindelar <Se...@nexus-ips.de> on 2020/04/22 08:09:30 UTC

Enabling default persistence on existing ignite cluster

Hallo.
Our application uses ignite to share data between different services. We habe a couple of caches und queues. Currently some of the caches are persisted using a second data region. This works fine. A new requiredment is to persist the items in the queues.
Because queues always use the default data region I assumed if I enable persistence on that region the queue content should be persistet. But this works just for the caches and not the queues. The queues still lose its content if the cluster shuts down. The log shows that persistence is enabled on the default region.
The thing is if I reset the cluster (deleting the ignite home folder) the queues get persistet fine. The problem is this means a lot of manual work when updating clients.
I tried renaming the queues, but it didn't work.

Kind regards

nexus / ag

Sebastian Sindelar

Softwareentwicklung

Tel.: +49 (0)561 942880
Fax: +49 (0)561 9428877
Support: +49 (0)561 9428899

E-Mail: Sebastian.Sindelar@nexus-ips.de <ma...@nexus-ips.de>

NEXUS / IPS GmbH
Standort Kassel
Mendelssohn-Bartholdy-Str. 17
D-34134 Kassel
www.nexus-ag.de | www.nexus-ips.de

[cid:image001.jpg@01D6188E.1C21FB20]

-------------------------------------------------------------------------------
NEXUS / IPS GmbH, Irmastraße 1, D-78166 Donaueschingen
Eingetragene Gesellschaft beim Amtsgericht Freiburg i.Br., HRB 602014
Geschäftsführer: Stefan Born, Dirk Hübner
-------------------------------------------------------------------------------

Rechtlicher Hinweis:
Diese E-Mail samt Anhängen könnte vertrauliche/rechtlich geschützte Informationen enthalten.
Wenn Sie nicht der richtige Empfänger sind, informieren Sie bitte sofort den Absender und löschen
diese E-Mail samt Anhängen. Das unerlaubte Kopieren oder Weitergeben dieser E-Mail ist nicht gestattet.

Datenschutzhinweis:
Bitte beachten Sie unsere Grundsätze der Datenverarbeitung in unserer Datenschutzerklärung:
https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung

Legal notice:
This message and any attachment(s) may contain confidential/privileged information. If you are not the
intended recipient, please email or telephone the sender and delete this message and any attachment(s) from
your system. Any unauthorised copying, disclosure or distribution of the material in this email is strictly forbidden.

Privacy Policy:
Please note our principles of data processing in our privacy statement:
https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung




Re: Enabling default persistence on existing ignite cluster

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Nice to hear!

They are also responsible for the data region on which to place those
partitions :)

Regards,
-- 
Ilya Kasnacheev


пн, 4 мая 2020 г. в 16:50, Sebastian Sindelar <
Sebastian.Sindelar@nexus-ips.de>:

> Hallo.
>
>
>
> Thanks for the suggestion. Just tried it and it *worked*.
>
> Never thought about the group names because I thought they had just to do
> with partition placement.
>
>
>
>
>
> Regards,
>
> *nexus / ag *
>
> *Sebastian Sindelar *
>
> Softwareentwicklung
>
> Tel.: +49 (0)561 942880
> Fax: +49 (0)561 9428877
> Support: +49 (0)561 9428899
>
> E-Mail: Sebastian.Sindelar@nexus-ips.de
>
> NEXUS / IPS GmbH
> Standort Kassel
> Mendelssohn-Bartholdy-Str. 17
> D-34134 Kassel
> www.nexus-ag.de | www.nexus-ips.de
>
>
> -------------------------------------------------------------------------------
> NEXUS / IPS GmbH, Irmastraße 1, D-78166 Donaueschingen
> Eingetragene Gesellschaft beim Amtsgericht Freiburg i.Br., HRB 602014
> Geschäftsführer: Stefan Born, Dirk Hübner
>
> -------------------------------------------------------------------------------
>
> Rechtlicher Hinweis:
> Diese E-Mail samt Anhängen könnte vertrauliche/rechtlich geschützte
> Informationen enthalten.
> Wenn Sie nicht der richtige Empfänger sind, informieren Sie bitte sofort
> den Absender und löschen
> diese E-Mail samt Anhängen. Das unerlaubte Kopieren oder Weitergeben
> dieser E-Mail ist nicht gestattet.
>
> Datenschutzhinweis:
> Bitte beachten Sie unsere Grundsätze der Datenverarbeitung in unserer
> Datenschutzerklärung:
> https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung
>
> Legal notice:
> This message and any attachment(s) may contain confidential/privileged
> information. If you are not the
> intended recipient, please email or telephone the sender and delete this
> message and any attachment(s) from
> your system. Any unauthorised copying, disclosure or distribution of the
> material in this email is strictly forbidden.
>
> Privacy Policy:
> Please note our principles of data processing in our privacy statement:
> https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung
>
>
>
> *Von:* Ilya Kasnacheev <il...@gmail.com>
> *Gesendet:* Freitag, 24. April 2020 15:02
> *An:* user@ignite.apache.org
> *Betreff:* Re: Enabling default persistence on existing ignite cluster
>
>
>
> Hello!
>
>
>
> Have you tried supplying different group name in CollectionsConfiguration
> when creating a Queue?
>
>
>
> Regards,
>
> --
>
> Ilya Kasnacheev
>
>
>
>
>
> ср, 22 апр. 2020 г. в 11:09, Sebastian Sindelar <
> Sebastian.Sindelar@nexus-ips.de>:
>
> Hallo.
>
> Our application uses ignite to share data between different services. We
> habe a couple of caches und queues. Currently some of the caches are
> persisted using a second data region. This works fine. A new requiredment
> is to persist the items in the queues.
>
> Because queues always use the default data region I assumed if I enable
> persistence on that region the queue content should be persistet. But this
> works just for the caches and not the queues. The queues still lose its
> content if the cluster shuts down. The log shows that persistence is
> enabled on the default region.
>
> The thing is if I reset the cluster (deleting the ignite home folder) the
> queues get persistet fine. The problem is this means a lot of manual work
> when updating clients.
>
> I tried renaming the queues, but it didn't work.
>
>
>
> Kind regards
>
> *nexus / ag *
>
> *Sebastian Sindelar *
>
> Softwareentwicklung
>
> Tel.: +49 (0)561 942880
> Fax: +49 (0)561 9428877
> Support: +49 (0)561 9428899
>
> E-Mail: Sebastian.Sindelar@nexus-ips.de
>
> NEXUS / IPS GmbH
> Standort Kassel
> Mendelssohn-Bartholdy-Str. 17
> D-34134 Kassel
> www.nexus-ag.de | www.nexus-ips.de
>
>
> -------------------------------------------------------------------------------
> NEXUS / IPS GmbH, Irmastraße 1, D-78166 Donaueschingen
> Eingetragene Gesellschaft beim Amtsgericht Freiburg i.Br., HRB 602014
> Geschäftsführer: Stefan Born, Dirk Hübner
>
> -------------------------------------------------------------------------------
>
> Rechtlicher Hinweis:
> Diese E-Mail samt Anhängen könnte vertrauliche/rechtlich geschützte
> Informationen enthalten.
> Wenn Sie nicht der richtige Empfänger sind, informieren Sie bitte sofort
> den Absender und löschen
> diese E-Mail samt Anhängen. Das unerlaubte Kopieren oder Weitergeben
> dieser E-Mail ist nicht gestattet.
>
> Datenschutzhinweis:
> Bitte beachten Sie unsere Grundsätze der Datenverarbeitung in unserer
> Datenschutzerklärung:
> https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung
>
> Legal notice:
> This message and any attachment(s) may contain confidential/privileged
> information. If you are not the
> intended recipient, please email or telephone the sender and delete this
> message and any attachment(s) from
> your system. Any unauthorised copying, disclosure or distribution of the
> material in this email is strictly forbidden.
>
> Privacy Policy:
> Please note our principles of data processing in our privacy statement:
> https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung
>
>
>
>
>
>

AW: Enabling default persistence on existing ignite cluster

Posted by Sebastian Sindelar <Se...@nexus-ips.de>.
Hallo.

Thanks for the suggestion. Just tried it and it worked.
Never thought about the group names because I thought they had just to do with partition placement.


Regards,

nexus / ag

Sebastian Sindelar

Softwareentwicklung

Tel.: +49 (0)561 942880
Fax: +49 (0)561 9428877
Support: +49 (0)561 9428899

E-Mail: Sebastian.Sindelar@nexus-ips.de <ma...@nexus-ips.de>

NEXUS / IPS GmbH
Standort Kassel
Mendelssohn-Bartholdy-Str. 17
D-34134 Kassel
www.nexus-ag.de | www.nexus-ips.de

[cid:image001.jpg@01D6222B.A80C12F0]

-------------------------------------------------------------------------------
NEXUS / IPS GmbH, Irmastraße 1, D-78166 Donaueschingen
Eingetragene Gesellschaft beim Amtsgericht Freiburg i.Br., HRB 602014
Geschäftsführer: Stefan Born, Dirk Hübner
-------------------------------------------------------------------------------

Rechtlicher Hinweis:
Diese E-Mail samt Anhängen könnte vertrauliche/rechtlich geschützte Informationen enthalten.
Wenn Sie nicht der richtige Empfänger sind, informieren Sie bitte sofort den Absender und löschen
diese E-Mail samt Anhängen. Das unerlaubte Kopieren oder Weitergeben dieser E-Mail ist nicht gestattet.

Datenschutzhinweis:
Bitte beachten Sie unsere Grundsätze der Datenverarbeitung in unserer Datenschutzerklärung:
https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung

Legal notice:
This message and any attachment(s) may contain confidential/privileged information. If you are not the
intended recipient, please email or telephone the sender and delete this message and any attachment(s) from
your system. Any unauthorised copying, disclosure or distribution of the material in this email is strictly forbidden.

Privacy Policy:
Please note our principles of data processing in our privacy statement:
https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung


Von: Ilya Kasnacheev <il...@gmail.com>
Gesendet: Freitag, 24. April 2020 15:02
An: user@ignite.apache.org
Betreff: Re: Enabling default persistence on existing ignite cluster

Hello!

Have you tried supplying different group name in CollectionsConfiguration when creating a Queue?

Regards,
--
Ilya Kasnacheev


ср, 22 апр. 2020 г. в 11:09, Sebastian Sindelar <Se...@nexus-ips.de>>:

Hallo.
Our application uses ignite to share data between different services. We habe a couple of caches und queues. Currently some of the caches are persisted using a second data region. This works fine. A new requiredment is to persist the items in the queues.
Because queues always use the default data region I assumed if I enable persistence on that region the queue content should be persistet. But this works just for the caches and not the queues. The queues still lose its content if the cluster shuts down. The log shows that persistence is enabled on the default region.
The thing is if I reset the cluster (deleting the ignite home folder) the queues get persistet fine. The problem is this means a lot of manual work when updating clients.
I tried renaming the queues, but it didn't work.

Kind regards

nexus / ag

Sebastian Sindelar

Softwareentwicklung

Tel.: +49 (0)561 942880
Fax: +49 (0)561 9428877
Support: +49 (0)561 9428899

E-Mail: Sebastian.Sindelar@nexus-ips.de <ma...@nexus-ips.de>

NEXUS / IPS GmbH
Standort Kassel
Mendelssohn-Bartholdy-Str. 17
D-34134 Kassel
www.nexus-ag.de<http://www.nexus-ag.de> | www.nexus-ips.de<http://www.nexus-ips.de>

[cid:image001.jpg@01D6222B.A80C12F0]

-------------------------------------------------------------------------------
NEXUS / IPS GmbH, Irmastraße 1, D-78166 Donaueschingen
Eingetragene Gesellschaft beim Amtsgericht Freiburg i.Br., HRB 602014
Geschäftsführer: Stefan Born, Dirk Hübner
-------------------------------------------------------------------------------

Rechtlicher Hinweis:
Diese E-Mail samt Anhängen könnte vertrauliche/rechtlich geschützte Informationen enthalten.
Wenn Sie nicht der richtige Empfänger sind, informieren Sie bitte sofort den Absender und löschen
diese E-Mail samt Anhängen. Das unerlaubte Kopieren oder Weitergeben dieser E-Mail ist nicht gestattet.

Datenschutzhinweis:
Bitte beachten Sie unsere Grundsätze der Datenverarbeitung in unserer Datenschutzerklärung:
https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung

Legal notice:
This message and any attachment(s) may contain confidential/privileged information. If you are not the
intended recipient, please email or telephone the sender and delete this message and any attachment(s) from
your system. Any unauthorised copying, disclosure or distribution of the material in this email is strictly forbidden.

Privacy Policy:
Please note our principles of data processing in our privacy statement:
https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung




Re: Enabling default persistence on existing ignite cluster

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Have you tried supplying different group name in CollectionsConfiguration
when creating a Queue?

Regards,
-- 
Ilya Kasnacheev


ср, 22 апр. 2020 г. в 11:09, Sebastian Sindelar <
Sebastian.Sindelar@nexus-ips.de>:

> Hallo.
>
> Our application uses ignite to share data between different services. We
> habe a couple of caches und queues. Currently some of the caches are
> persisted using a second data region. This works fine. A new requiredment
> is to persist the items in the queues.
>
> Because queues always use the default data region I assumed if I enable
> persistence on that region the queue content should be persistet. But this
> works just for the caches and not the queues. The queues still lose its
> content if the cluster shuts down. The log shows that persistence is
> enabled on the default region.
>
> The thing is if I reset the cluster (deleting the ignite home folder) the
> queues get persistet fine. The problem is this means a lot of manual work
> when updating clients.
>
> I tried renaming the queues, but it didn't work.
>
>
>
> Kind regards
>
> *nexus / ag *
>
> *Sebastian Sindelar *
>
> Softwareentwicklung
>
> Tel.: +49 (0)561 942880
> Fax: +49 (0)561 9428877
> Support: +49 (0)561 9428899
>
> E-Mail: Sebastian.Sindelar@nexus-ips.de
>
> NEXUS / IPS GmbH
> Standort Kassel
> Mendelssohn-Bartholdy-Str. 17
> D-34134 Kassel
> www.nexus-ag.de | www.nexus-ips.de
>
>
> -------------------------------------------------------------------------------
> NEXUS / IPS GmbH, Irmastraße 1, D-78166 Donaueschingen
> Eingetragene Gesellschaft beim Amtsgericht Freiburg i.Br., HRB 602014
> Geschäftsführer: Stefan Born, Dirk Hübner
>
> -------------------------------------------------------------------------------
>
> Rechtlicher Hinweis:
> Diese E-Mail samt Anhängen könnte vertrauliche/rechtlich geschützte
> Informationen enthalten.
> Wenn Sie nicht der richtige Empfänger sind, informieren Sie bitte sofort
> den Absender und löschen
> diese E-Mail samt Anhängen. Das unerlaubte Kopieren oder Weitergeben
> dieser E-Mail ist nicht gestattet.
>
> Datenschutzhinweis:
> Bitte beachten Sie unsere Grundsätze der Datenverarbeitung in unserer
> Datenschutzerklärung:
> https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung
>
> Legal notice:
> This message and any attachment(s) may contain confidential/privileged
> information. If you are not the
> intended recipient, please email or telephone the sender and delete this
> message and any attachment(s) from
> your system. Any unauthorised copying, disclosure or distribution of the
> material in this email is strictly forbidden.
>
> Privacy Policy:
> Please note our principles of data processing in our privacy statement:
> https://www.nexus-ibh.de/unternehmen/datenschutzerklaerung
>
>
>
>
>