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

catmaid / CATMAID / 6265 / 2
45%
master: 45%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 21 Aug 2019 09:36PM UTC
Files 101
Run time 24s
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

21 Aug 2019 09:22PM UTC coverage: 44.528% (+0.02%) from 44.513%
6265.2

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%)

0.45 hits per line

Source Files on job 6265.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5592
  • Travis Job 6265.2
  • b7db7d8d on github
  • Prev Job for on dev (#6264.1)
  • Next Job for on dev (#6266.2)
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