- Fix intermittent NPE in determining commit date in RefModel (issue-401) | - Fix intermittent NPE in determining commit date in RefModel (issue-401) | ||||
- Fix closing ticket on push by parsing commit messages for closes|fixes (issue-404) | - Fix closing ticket on push by parsing commit messages for closes|fixes (issue-404) | ||||
- Ensure the Lucene ticket index is updated on repository deletion. | - Ensure the Lucene ticket index is updated on repository deletion. | ||||
- Fixed failure to properly determine hasTicket in RedisTicketService | |||||
changes: | changes: | ||||
- Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue-348) | - Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue-348) | ||||
- Improve logging for missing LDAP uid attribute when synchronizing (issue-394) | - Improve logging for missing LDAP uid attribute when synchronizing (issue-394) |
} | } | ||||
try { | try { | ||||
Boolean exists = jedis.exists(key(repository, KeyType.journal, ticketId)); | Boolean exists = jedis.exists(key(repository, KeyType.journal, ticketId)); | ||||
return exists != null && !exists; | |||||
return exists != null && exists; | |||||
} catch (JedisException e) { | } catch (JedisException e) { | ||||
log.error("failed to check hasTicket from Redis @ " + getUrl(), e); | log.error("failed to check hasTicket from Redis @ " + getUrl(), e); | ||||
pool.returnBrokenResource(jedis); | pool.returnBrokenResource(jedis); |