Holochain Forum

Link insertion/retrieval ordering

Hi all,

I have had a number of test breakages in recent versions of Holochain core and I want to ensure it’s worth my time to address them, since one in particular is quite complicated.

  • Prior to 0.0.47-alpha1, links were returned in the same order they were written in (oldest first).
  • In 0.0.47-alpha1 the order was undefined.
  • In 0.0.48-alpha1, links appear to be returned in the reverse order that they were written in (most recent first).

I’m wondering if there will be any ordering guarantees provided for by core, and if such expectations could be clearly articulated in order for app developers to have confidence that these mechanics won’t shift under us again.

Thanks!

2 Likes

More specific update to this- https://github.com/holo-rea/holo-rea/issues/151

cc @pauldaoust