Disable Durable Storage for DData

34 views
Skip to first unread message

haghard

unread,
Jan 9, 2018, 1:02:41 PM1/9/18
to Akka User List
Hello hakkers,
  Is it possible to disable durable storage for DData in aka 2.5.x and get back previous behaviour ?

Thanks

Patrik Nordwall

unread,
Jan 9, 2018, 2:52:36 PM1/9/18
to akka...@googlegroups.com
Could you give some more context. It's not active by default.

/Patrik

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscribe@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--

Patrik Nordwall
Akka Tech Lead
Lightbend -  Reactive apps on the JVM
Twitter: @patriknw

haghard

unread,
Jan 9, 2018, 3:52:26 PM1/9/18
to Akka User List
Hello Patrik, after updating on 2.5.8 I see a new folder called ddata.

Thanks

вторник, 9 января 2018 г., 22:52:36 UTC+3 пользователь Patrik Nordwall написал:
Could you give some more context. It's not active by default.

/Patrik
On Tue, Jan 9, 2018 at 7:02 PM, haghard <hagh...@gmail.com> wrote:
Hello hakkers,
  Is it possible to disable durable storage for DData in aka 2.5.x and get back previous behaviour ?

Thanks

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.

To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Patrik Nordwall

unread,
Jan 9, 2018, 4:12:30 PM1/9/18
to akka...@googlegroups.com
Are you using Cluster Sharding with rememberEntities?

haghard

unread,
Jan 9, 2018, 4:13:26 PM1/9/18
to Akka User List
yes

среда, 10 января 2018 г., 0:12:30 UTC+3 пользователь Patrik Nordwall написал:

haghard

unread,
Jan 10, 2018, 3:10:19 AM1/10/18
to Akka User List
Do you think that this folder somehow relates to rememberEntities

среда, 10 января 2018 г., 0:13:26 UTC+3 пользователь haghard написал:

Patrik Nordwall

unread,
Jan 10, 2018, 3:27:34 AM1/10/18
to akka...@googlegroups.com
Durable storage is used by Cluster Sharding for rememberEntites so that it can "remember" things after a full cluster restart, i.e. activate the same entities again.

In 2.5 the ddata mode became default in Cluster Sharding. If you want the old behavior you should enable the "persistence" mode.

rememberEntites with ddata mode in 2.4 didn't really work.


/Patrik

To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscribe@googlegroups.com.

To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages