Commit Graph
5375 Commits
Author SHA1 Message Date
Brian Gough 804f4c2bd2 listen on separate channels for each project/doc 2019-07-18 12:55:23 +01:00
Miguel Serrano 188724ccfb Merge pull request #26 from overleaf/msm-remove-v8-profiler
Removed V8 profiler
2019-07-18 12:47:33 +02:00
mserranom c70a6bb92b Removed V8 profiler 2019-07-18 09:42:38 +00:00
Brian Gough ae512dc9fb Merge pull request #62 from overleaf/bg-patch-socket-io-frame-bug
monkeypatch socket.io to fix frame handler in v0.9.16
2019-07-17 13:48:04 +01:00
Brian Gough 9ecce32ff9 Merge pull request #63 from overleaf/bg-log-out-of-order-events
log out of order events now that the rate is lower
2019-07-17 13:47:45 +01:00
Brian Gough b8c152ad12 Merge pull request #64 from overleaf/bg-make-event-order-check-configurable
make event order check a configuration setting
2019-07-17 13:47:15 +01:00
Brian Gough 0c6ba4c1a8 monkeypatch socket.io to fix frame handler in v0.9.16 2019-07-16 14:02:52 +01:00
Miguel Serrano 134ff0b29d Removed concurrent aspell works within the same request (#32) 2019-07-16 08:51:15 +02:00
Brian Gough 8a7804f0a7 make event order check a configuration setting 2019-07-15 13:45:34 +01:00
Brian Gough 24a4709cff log out of order events now that the rate is lower 2019-07-15 11:14:48 +01:00
Brian Gough a724021900 Merge pull request #61 from overleaf/bg-remove-redis-cluster-from-realtime
remove redis cluster from realtime
2019-07-15 09:47:37 +01:00
Miguel Serrano a27ca151fb updated logger-sharelatex to 1.8.0 (#31) 2019-07-11 16:57:45 +02:00
Shane Kilkelly e70c502028 Merge pull request #128 from overleaf/sk-dep-upgrades-2
Update logger, metrics
2019-07-11 12:51:16 +01:00
Brian Gough e632f9f29d only create per-client metrics when there are multiple redis clients 2019-07-11 11:35:48 +01:00
Miguel Serrano 74c9a3c095 updated API Manager to call aspell in batches (#30) 2019-07-11 12:29:00 +02:00
Brian Gough 80f8f2465e remove unused pubsub client 2019-07-11 11:10:33 +01:00
Brian Gough 0c8922c769 Merge pull request #76 from overleaf/bg-get-updates-from-cluster
fix cluster/sentinel connection with real-time
2019-07-10 09:53:18 +01:00
Brian Gough 97487a077e fix cluster/sentinel connection with real-time 2019-07-10 09:42:05 +01:00
Miguel Serrano a28ecc0c39 Added acceptance tests for the spelling module (#29) 2019-07-09 20:12:30 +02:00
Brian Gough a50c096eae Merge pull request #58 from overleaf/bg-support-multiple-redis-pubsub
support multple redis instances for pubsub
2019-07-09 15:07:42 +01:00
Brian Gough 689a75f397 add logging for redis clients at start up 2019-07-09 14:18:39 +01:00
Brian Gough dd54789e2b fix build problems 2019-07-09 12:20:59 +01:00
Brian Gough 580b100362 only publish to one redis client in WebsocketLoadBalancer
but listen to all of them
2019-07-09 12:03:13 +01:00
Brian Gough 999cbd8ee6 add a per-client metric 2019-07-09 12:01:58 +01:00
Brian Gough cb289f2dec make redis client list dynamic based on settings 2019-07-09 11:45:00 +01:00
Shane Kilkelly dbede8509c Merge pull request #54 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-09 10:18:16 +01:00
Brian Gough b5f9bc422b support multple redis instances for pubsub 2019-07-08 15:56:25 +01:00
Simon Detheridge a9d8e938ca Merge pull request #39 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-08 14:03:58 +01:00
Henry Oswald 06ad0f7acd Merge pull request #75 from overleaf/ho-pubsub-connection
Remove real time redis connection and consolidate on pubsub
2019-07-08 13:58:41 +01:00
Henry Oswald 374585f47d Merge pull request #72 from overleaf/sk-dep-upgrades-2019-06
Update logger, metrics, and redis
2019-07-08 13:58:28 +01:00
Henry Oswald 94b787f467 Merge pull request #71 from overleaf/ho-detailed-flush-status
return failed and succesfully flushed projects when flushing everything
2019-07-08 13:58:17 +01:00
Henry Oswald 6d4649c842 Merge pull request #60 from overleaf/ho-pubsub-healthcheck
Ho pubsub healthcheck
2019-07-08 13:32:52 +01:00
Henry Oswald 520857cf7a simplify redis continual traffic
we can't send double health check events to same redis, it causes
health check duplicate errors. Commit just sends health check data to
pub sub pair and then sends non health check traffic to cluster to keep
the connection open
2019-07-08 12:07:28 +01:00
Henry Oswald 1038c5cd0d send health check to pubsub channel and use different var name 2019-07-08 11:53:42 +01:00
Henry Oswald eadef7b133 Merge pull request #59 from overleaf/ho-redis-natmap-sentinel
Move pubsub to seperate connection
2019-07-08 11:18:12 +01:00
Henry Oswald 9953c933ee Update package.json 2019-07-08 11:18:02 +01:00
Henry Oswald 487865fad3 Merge pull request #57 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-08 11:17:29 +01:00
Henry Oswald 42e5d2fb6e Update app.coffee 2019-07-08 11:17:08 +01:00
Shane Kilkelly bc646829b4 Merge pull request #70 from overleaf/sk-handle-files-with-spaces
Use UUID in file url, not (encoded) file path.
2019-07-08 09:28:41 +01:00
Shane Kilkelly 88adce3a02 Use UUID in file url, not (encoded) file path.
This fixes a bunch of issues where funny characters in the file path
(spaces, unicode, etc) would cause the file server in this process to
respond with a 404 when asked for the file. The 404 would then cause
the push to fail.

Now we just use a UUID as an opaque and unambiguous identifier for each file.
2019-07-05 11:07:47 +01:00
Shane Kilkelly 1e3b973d9a Merge pull request #69 from overleaf/sk-update-local-config-2019-07
Point local OAuth config at v2
2019-07-05 11:06:46 +01:00
Miguel Serrano ba642b9807 fixed renaming missing callback (#28) 2019-07-05 10:30:43 +01:00
Miguel Serrano 46d0cf9c4b increased logging info (#27) 2019-07-04 15:17:14 +01:00
Henry Oswald 8042a415ec move pubsub traffic over to a pubsub redis connection string 2019-07-04 13:38:39 +01:00
Henry Oswald 3b3b2da0f5 add pubsub redis connection and remove real time redis connection 2019-07-04 13:34:31 +01:00
Miguel Serrano 6ca60b8724 improved error handling and increased timeout (#26) 2019-07-04 11:55:16 +01:00
Miguel Serrano 0518840b4e updated node version to v10 and removed v8 profiler (#25) 2019-07-03 14:19:01 +01:00
Simon Detheridge 0e1c021353 Merge pull request #40 from overleaf/spd-destroy-docs
Add endpoint to completely purge a project's documents
2019-07-03 13:57:34 +01:00
Miguel Serrano 0eba057cef Initial decaffeination (#24) 2019-07-03 13:41:01 +01:00
Henry Oswald a42aa45a36 Merge branch 'sk-dep-upgrades-2019-06' into ho-pubsub-connection 2019-07-03 10:18:13 +01:00