Skip to content
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

Resolve leo-project/leofs/issues/941 #1008

Merged
merged 10 commits into from
Mar 27, 2018

Conversation

@yosukehara yosukehara requested a review from mocchira March 23, 2018 09:23
@yosukehara
Copy link
Member Author

I've also fixed recover-related documentation, which is included in this PR.

| Port | 4010..4014 |
| Branch | 1.3.6.1.4.1.35450 |
| [snmpa\_storage\_0](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_0) | Port: 4020 |
Copy link
Member

Choose a reason for hiding this comment

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

wrong: Port: 4020
correct: Port: 4010

| Branch | 1.3.6.1.4.1.35450 |
| [snmpa\_storage\_0](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_0) | Port: 4020 |
| [snmpa\_storage\_1](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_1) | Port: 4021 |
Copy link
Member

Choose a reason for hiding this comment

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

wrong: Port: 4021
correct: Port: 4011

| [snmpa\_storage\_0](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_0) | Port: 4020 |
| [snmpa\_storage\_1](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_1) | Port: 4021 |
| [snmpa\_storage\_2](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_2) | Port: 14020 |
Copy link
Member

Choose a reason for hiding this comment

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

wrong: Port: 14020
correct: Port: 4012

| [snmpa\_storage\_1](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_1) | Port: 4021 |
| [snmpa\_storage\_2](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_2) | Port: 14020 |
| [snmpa\_storage\_3](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_3) | Port: 14021 |
Copy link
Member

Choose a reason for hiding this comment

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

wrong: Port: 14021
correct: Port: 4013

end,
SoFar + N
end, 0, ?del_dir_queue_list()),
catch snmp_generic:variable_set(Id, V),
Copy link
Member

Choose a reason for hiding this comment

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

Strictly, check_number should be applied to V

_ ->
0
end,
catch snmp_generic:variable_set(Id, V),
Copy link
Member

Choose a reason for hiding this comment

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

ditto

@yosukehara
Copy link
Member Author

@mocchira PTAL

N;
_ ->
0
end;
Copy link
Member

Choose a reason for hiding this comment

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

What I meant in the previous comment is that the value should be rounded to leo_math:power(2,32) as check_number does because it can be higher than 4294967296.

N;
_ ->
0
end;
Copy link
Member

Choose a reason for hiding this comment

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

ditto

@mocchira mocchira merged commit 81d673b into leo-project:develop Mar 27, 2018
@yosukehara yosukehara deleted the y05uk-dev-941 branch March 27, 2018 06:41
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.

2 participants