Skip to content

Commit f8e9647

Browse files
committed
Query Solr core fix: vfb_json, not ontology (v0.11.4)
I was being fooled by the rancher LB's path-prefix routing. http://query.virtualflybrain.org/solr/ontology/admin/system was actually routed to the public ontology Solr (1s103) rather than queryserver, because the LB rule with path: /solr/ontology/ matches that path independently of hostname. queryserver (1s304) only hosts vfb_json. ontology doesn't exist on it. Change Query Solr's core: from ontology to vfb_json so we get queryserver's real numbers, not the public Solr's traffic double-counted onto the wrong card. After the fix Query Solr reports 3,006 cumulative /select requests (0.005/s) -- consistent with Preview Solr (1s322) since the path-based LB routing means both probes hit the same Solr backend for vfb_json regardless of hostname. Cores by service for posterity: - 1s103 solr-vfb-service ontology - 1s263 ServerONLY-solr-vfb-service ontology (replica) - 1s304 queryserver vfb_json only - 1s322 query-cache-server vfb_json only
1 parent af513b5 commit f8e9647

2 files changed

Lines changed: 23 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
All notable changes to vfb-status are recorded here. The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## [0.11.4] — 2026-06-05
6+
7+
### Fixed
8+
9+
- **Query Solr core changed from `ontology` to `vfb_json`.** I'd been fooled by the rancher LB's path-prefix routing: hitting `http://query.virtualflybrain.org/solr/ontology/...` was actually being routed to the public ontology Solr (`solr-vfb-service` 1s103), not to queryserver (1s304). queryserver only hosts `vfb_json`; ontology doesn't exist on it. The 12.8 M `/select` request count I'd previously attributed to Query Solr was really the public Solr's traffic, double-counted onto the wrong card. With the correct core, Query Solr now reports its real numbers (~3 006 cumulative requests, 0.005/s — matching Preview Solr 1s322 since they share state via the LB).
10+
11+
### Topology after this release
12+
13+
| Card | Hostname + path | Routes to | Core |
14+
| --- | --- | --- | --- |
15+
| SOLR | `solr.virtualflybrain.org` `/solr/ontology/` | 1s103 solr-vfb-service | ontology |
16+
| SOLR — ServerONLY (1s263) | (replica) | 1s263 | ontology |
17+
| Query Solr | `query.virtualflybrain.org` `/solr/vfb_json/` | 1s304 queryserver | vfb_json |
18+
| Preview Solr | `query-preview.virtualflybrain.org:8983` `/solr/vfb_json/` | 1s322 query-cache-server | vfb_json |
19+
520
## [0.11.3] — 2026-06-05
621

722
### Fixed
@@ -272,6 +287,7 @@ Initial release. Self-contained Docker uptime tracker for public-facing Virtual
272287
- Four subdomains (`nas0`, `iip3d`, `nblast`, `abd1-5.catmaid`) ship with `verify_tls: false` because the production cert SAN doesn't cover them. The servers are up; the cert provisioning is a separate problem.
273288
- Kubernetes nodes are intentionally not handled here — separate checks planned for a later release.
274289

290+
[0.11.4]: https://github.com/VirtualFlyBrain/vfb-status/releases/tag/v0.11.4
275291
[0.11.3]: https://github.com/VirtualFlyBrain/vfb-status/releases/tag/v0.11.3
276292
[0.11.2]: https://github.com/VirtualFlyBrain/vfb-status/releases/tag/v0.11.2
277293
[0.11.1]: https://github.com/VirtualFlyBrain/vfb-status/releases/tag/v0.11.1

config/services.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,14 @@ solr_services:
256256
container_port: 8983
257257
container_scheme: http
258258
- name: Query Solr (query.virtualflybrain.org)
259-
# The rancher LB binds query.virtualflybrain.org on port 80 only (HTTP)
260-
# against queryserver (1s304); /solr/ paths route through to Solr at
261-
# target_port 8983. Same image as the public SOLR but a separate service
262-
# backing vfb_json + ontology cores from the query front end.
259+
# queryserver (1s304) on query.virtualflybrain.org (HTTP only via the
260+
# rancher LB; /solr/* paths route through to Solr at target_port 8983).
261+
# The real core to track here is vfb_json — ontology also exists on this
262+
# server but isn't where the data lives (admin UI:
263+
# http://query.virtualflybrain.org:8983/solr/#/vfb_json/core-overview).
263264
base_url: http://query.virtualflybrain.org
264-
core: ontology
265-
fronts: queryserver (1s304) — vfb_json + ontology
265+
core: vfb_json
266+
fronts: queryserver (1s304) — vfb_json
266267
rancher:
267268
service_url: https://herd.virtualflybrain.org/v2-beta/projects/1a5/services/1s304
268269
container_port: 8983

0 commit comments

Comments
 (0)