Github user DLotts commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/67#discussion_r75218928
  
    --- Diff: 
extras/indexing/src/main/java/mvm/rya/indexing/FilterFunctionOptimizer.java ---
    @@ -99,29 +99,19 @@ public void setConf(final Configuration conf) {
             this.conf = conf;
             //reset the init.
             init = false;
    -        try {
                 init();
    -        } catch (final NumberFormatException | UnknownHostException e) {
    -            LOG.error("Unable to update to use new config, falling back to 
the old config.", e);
    --- End diff --
    
    Same reason.  But in addition, this is just a bug and a fib.  It ignores 
what error happened and any diagnostic information.  It does not restore the 
old config if there was one. It sets init = false; so that it does not attempt 
to re-initialize.  The next thing that happens is a failure in distant code 
that assumes that the database is correctly connected.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to