-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTP 17 compatibility #1245
OTP 17 compatibility #1245
Conversation
Because request rate increased by using erlcloud instead of curl, request pool can be exhaused.
1211c17
to
952480a
Compare
|
||
-ifdef(namespaced_types). | ||
-type mochiweb_headers() :: gb_trees:tree(). | ||
-type robj_md() :: dict:dict(). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't you use riakc_obj:metadata()
here?
Please ping a pre6 tag to basho/riak_cs_multibag#30 and update this branch. |
Ah, the same unit test failing again!! Looks like eunit parallelism has changed?
|
Sure thing 😄 |
|
@@ -52,9 +52,15 @@ | |||
|
|||
-define(DICTMODULE, dict). | |||
|
|||
-ifdef(namespaced_types). | |||
-type dictionary() :: dict:dict(). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parameterized types like dict:dict(ref(), timer())
and dict:dict(timer(), ref())
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a big love for types ❗
17.5.6.2, today's HEAD of basho/otp,
I think so. |
Great work; we still have several points to address. Let's work on them. |
The checksum of my OTP17 is |
I'm sorry, I cannot reproduce above error after I removed .eunit directory. Current error is:
|
Fmm, weird. As I updated quick check then failed to reproduce. Please ignore my ado about errors. |
np! |
Addressed comments. Also fixed the error of riak_cs_gc_manager_eqc which could be reproduced with OTP 17 and EQC 1.36.1. Ready for review again. |
OTP 17 compatibility Reviewed-by: kuenishi
@borshop merge |
This PR adds OTP 17 compatibility.
Tested with
Note:
In 17.4,
os:cmd/*
treats input as a list of unicode code points andit outputs results in a list of unicode code points too.
To avoid this, user administration interface in
rtcs*
is changedto use erlcloud instead of
curl
(and fight with IO/unicode/etc.)