summaryrefslogtreecommitdiff
path: root/issues/global-search-connection-slow.gmi
blob: 2c38067cde8d656b302dbfd46ef2c0fa62f98350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Global search does not close connections properly (and is slow)

## Tags

* type: bug
* priority: medium
* status: stalled
* assigned: Uditgulati
* keywords: global search, db connections, medium priority, from github

## Description

=> https://github.com/genenetwork/genenetwork2/issues/418 From GitHub

Global search '*' causes loads of aborted connections... I mean

```
  2020-08-15  2:53:58 140273206434560 [Warning] Aborted connection 45219 to db: 'db_webqtl' user: 'webqtlout' host: '127.0.0.1' (CLOSE_CONNECTION)
```

generating 6Mb of log file info.


In fact, every row in the table has a SQL query that does not close the connection properly.

## Resolution

The new xapian search does not use the SQL database at all. Therefore issue may be closed.

* closed