• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

catmaid / CATMAID / 6265
45%
master: 45%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 21 Aug 2019 09:36PM UTC
Jobs 3
Files 101
Run time 19min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6265

push

travis-ci

tomka
Startup: use advisory locks to serialize helper function creation

When enabling and disabling both history tracking and spatial update
events on startup, advisory locks are now used. This should make the
startup of parallel CATMAID workers more robust. In some PgBouncer based
setups, I saw the following error in the database log before, which can
be fixed with this:

  PL/pgSQL function enable_spatial_update_events() line 3 at SQL statement
  2019-08-21 00:37:10.896 EDT [12385] catmaid_tracing_user@catmaid_v14_seg_li_190805_0 STATEMENT:  SELECT enable_spatial_update_events()
  2019-08-21 00:37:10.897 EDT [12401] catmaid_tracing_user@catmaid_v14_seg_li_190805_0 ERROR:  tuple concurrently updated
  2019-08-21 00:37:10.897 EDT [12401] catmaid_tracing_user@catmaid_v14_seg_li_190805_0 CONTEXT:  SQL statement "CREATE OR REPLACE FUNCTION notify_conditionally(channel text, payload text) RETURNS int
  LANGUAGE plpgsql AS
  $inner$
  BEGIN
      PERFORM pg_notify(channel, payload);
      RETURN 0;
  END;
  $inner$"

The lock ID used is formed from the multiplication of all as ascii codes
of the characters of "catmaid" + an incremental number.

8272 of 18577 relevant lines covered (44.53%)

1.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6265.1 21 Aug 2019 09:36PM UTC 0
44.53
Travis Job 6265.1
2 6265.2 21 Aug 2019 09:36PM UTC 0
44.53
Travis Job 6265.2
3 6265.3 21 Aug 2019 09:55PM UTC 0
41.43
Travis Job 6265.3
Source Files on build 6265
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6265
  • b7db7d8d on github
  • Prev Build on dev (#6264)
  • Next Build on dev (#6266)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc