You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/07/25 14:28:08 UTC

[GitHub] [incubator-druid] leventov opened a new issue #8158: Structural search inspection: incorrect try-finally locking pattern

leventov opened a new issue #8158: Structural search inspection: incorrect try-finally locking pattern
URL: https://github.com/apache/incubator-druid/issues/8158
 
 
   This [structural search pattern](https://github.com/apache/incubator-druid/blob/master/dev/teamcity.md#creating-a-custom-inspection-from-a-structural-search-pattern):
   ```
   try {
     $x$.lock();
     $Statement$;
   }
   ```
   Where `$Statement$` has `Count` filter from 0 to <unlimited>, allows to catch bad locking patterns, first fixed by @jihoonson here: https://github.com/apache/incubator-druid/pull/7547/files#diff-828068851576f03df28ff9fce91878aeR254

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org