Skip to content

Robustify stress2 test + use tail recursive map everywhere - #717

Merged
domsj merged 4 commits into
masterfrom
stress2
May 11, 2017
Merged

domsj merged 4 commits into
masterfrom
stress2

Conversation

@domsj

@domsj domsj commented May 11, 2017

Copy link
Copy Markdown
Contributor

(all .ml files are as of now required to open! Prelude)

@toolslive toolslive left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we use List.fold_right or List.merge

@domsj
domsj merged commit 8e67914 into master May 11, 2017
@domsj
domsj deleted the stress2 branch May 11, 2017 13:45
@aantron

aantron commented May 11, 2017

Copy link
Copy Markdown

Let me know if you do decide that tail-recursive Lwt_list functions (ocsigen/lwt#347) are necessary. We can quickly add them. You should be able to pin to that Lwt commit, and it will also get released in the next release. We'll probably eventually switch to tail-recursive functions no matter what, once it's time to deal with "everything" in Lwt_list, which shouldn't be too far off.

@domsj

domsj commented May 12, 2017

Copy link
Copy Markdown
Contributor Author

We have included our own version of the Lwt_list functions ... see https://github.com/openvstorage/alba/blob/1.3.15/ocaml/src/tools/prelude.ml#L856, so no rush for a new release from our end.
As an fyi: the stress2 suite still periodically segfaults on my machine. But as it's only on my machine I'm starting to think it's a hardware problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants