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

remove maintenance code duplicating notify's maintenance code (master) #3668

Merged
merged 1 commit into from May 3, 2017

Conversation

fenollp
Copy link
Contributor

@fenollp fenollp commented May 3, 2017

4.0: #3665

Reported by @seanwysor after crash:

```
<9847.5234.0> (21/21) refreshing database 'system_config'
archiving to /tmp/system_config.json
   archived 83 docs
<9847.5234.0> (20/21) refreshing database 'system_data'
<9847.5234.0> (19/21) refreshing database 'offnet'
<9847.5234.0> (18/21) refreshing database 'accounts'
Stderr Command failed: {'EXIT',{badarg,[{erlang,list_to_binary,[[{error,bad_name},"/couchdb/",<<"views/notify.json">>]],[]},{kapps_util,get_view_json,2,[{file,"src/kapps_util.erl"},{line,530}]},{kapps_maintenance,refresh,1,[{file,"src/kapps_maintenance.erl"},{line,315}]},{kapps_maintenance,refresh,3,[{file,"src/kapps_maintenance.erl"},{line,244}]},{kapps_maintenance,migrate,2,[{file,"src/kapps_maintenance.erl"},{line,141}]},{kapps_maintenance,migrate,1,[{file,"src/kapps_maintenance.erl"},{line,126}]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,"rpc.erl"},{line,206}]}]}}
```
@lazedo lazedo merged commit 0827150 into master May 3, 2017
@lazedo
Copy link
Member

lazedo commented May 3, 2017

@fenollp this is actually interesting. if the app doesn't exist, there's a crash because of the malformed path. but the ACCOUNTS_AGG_NOTIFY_VIEW_FILE does not exist in notify and we don't say nothing. we should error loudly if we don't find the file.

@lazedo lazedo deleted the fenollp-patch-2_master branch May 3, 2017 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants