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

xapi-project / xen-api / 13890650872
80%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2025 03:05AM UTC
Jobs 1
Files 33
Run time 1min
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

14 Mar 2025 05:01PM UTC coverage: 77.703%. Remained the same
13890650872

push

github

web-flow
CP-48676: Reuse pool sessions on slave logins (#6258)

This was first introduced in
https://github.com/xapi-project/xen-api/pull/5986 but was later reverted
as the mutex it introduced caused a deadlock with the DB mutex. This PR
has now been reworked to use an Atomic variable, removing the need for
the mutex.

This PR allows pool sessions to be reused (if the flag is turned on,
which it is by default). This greatly speeds up communications between
hosts which is important for repetitive calls e.g. one customer was
running get_servertime frequently on all hosts in a pool which was
causing problems due to the length of each call.

When we get this reusable session, we can optionally validate the
session before using it but this increases the duration of the call, so
this is off by default. Excepting a toolstack restart, the reusable
session should always be valid as it is excluded from deletion in
destroy_db_session

3356 of 4319 relevant lines covered (77.7%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 13890650872.1 17 Mar 2025 03:05AM UTC 33
77.7
GitHub Action Run
Source Files on build 13890650872
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13890650872
  • 17514dc0 on github
  • Prev Build on gh-readonly-queue/master/pr-6278-e5c26125572105afa123ab7693a68d764dcf71e3 (#13861552151)
  • Next Build on master (#13892831525)
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

© 2025 Coveralls, Inc