mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-12-27 09:56:12 +00:00
117ed66037
The internal NATS instance is definitely convenient but it does have one problem: its lifecycle is tied to the Dendrite process. That means if Dendrite panics or OOMs, it takes out NATS with it. I suspect this is sometimes contributing to what people see with stuck streams, as some operations or state might not be written to disk fully before it gets interrupted. Using `SyncAlways` means that NATS will effectively use `O_SYNC` and block writes on flushes, which should improve resiliency against this kind of failure considerably. It might affect performance a little but shouldn't be significant. Also updates NATS to 2.10.20 as there have been all sorts of fixes since 2.10.7, including better `SyncAlways` handling. Signed-off-by: Neil Alexander <git@neilalexander.dev> --------- Signed-off-by: Neil Alexander <git@neilalexander.dev> Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
156 lines
7 KiB
Modula-2
156 lines
7 KiB
Modula-2
module github.com/matrix-org/dendrite
|
|
|
|
require (
|
|
github.com/Arceliar/phony v0.0.0-20220903101357-530938a4b13d
|
|
github.com/DATA-DOG/go-sqlmock v1.5.0
|
|
github.com/MFAshby/stdemuxerhook v1.0.0
|
|
github.com/Masterminds/semver/v3 v3.1.1
|
|
github.com/blevesearch/bleve/v2 v2.4.0
|
|
github.com/codeclysm/extract v2.2.0+incompatible
|
|
github.com/dgraph-io/ristretto v0.1.1
|
|
github.com/docker/docker v25.0.6+incompatible
|
|
github.com/docker/go-connections v0.4.0
|
|
github.com/getsentry/sentry-go v0.14.0
|
|
github.com/gologme/log v1.3.0
|
|
github.com/google/go-cmp v0.6.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/mux v1.8.0
|
|
github.com/gorilla/websocket v1.5.0
|
|
github.com/kardianos/minwinsvc v1.0.2
|
|
github.com/lib/pq v1.10.9
|
|
github.com/matrix-org/dugong v0.0.0-20210921133753-66e6b1c67e2e
|
|
github.com/matrix-org/go-sqlite3-js v0.0.0-20220419092513-28aa791a1c91
|
|
github.com/matrix-org/gomatrix v0.0.0-20220926102614-ceba4d9f7530
|
|
github.com/matrix-org/gomatrixserverlib v0.0.0-20240801173829-d531860ad2cb
|
|
github.com/matrix-org/pinecone v0.11.1-0.20230810010612-ea4c33717fd7
|
|
github.com/matrix-org/util v0.0.0-20221111132719-399730281e66
|
|
github.com/mattn/go-sqlite3 v1.14.22
|
|
github.com/nats-io/nats-server/v2 v2.10.20
|
|
github.com/nats-io/nats.go v1.36.0
|
|
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
|
|
github.com/opentracing/opentracing-go v1.2.0
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus/client_golang v1.19.1
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/stretchr/testify v1.9.0
|
|
github.com/tidwall/gjson v1.17.1
|
|
github.com/tidwall/sjson v1.2.5
|
|
github.com/uber/jaeger-client-go v2.30.0+incompatible
|
|
github.com/uber/jaeger-lib v2.4.1+incompatible
|
|
github.com/yggdrasil-network/yggdrasil-go v0.5.6
|
|
github.com/yggdrasil-network/yggquic v0.0.0-20240802104827-b4e97a928967
|
|
go.uber.org/atomic v1.11.0
|
|
golang.org/x/crypto v0.26.0
|
|
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
|
|
golang.org/x/image v0.18.0
|
|
golang.org/x/mobile v0.0.0-20240520174638-fa72addaaa1b
|
|
golang.org/x/sync v0.8.0
|
|
golang.org/x/term v0.23.0
|
|
gopkg.in/h2non/bimg.v1 v1.1.9
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gotest.tools/v3 v3.4.0
|
|
maunium.net/go/mautrix v0.15.1
|
|
modernc.org/sqlite v1.29.5
|
|
nhooyr.io/websocket v1.8.7
|
|
)
|
|
|
|
require (
|
|
github.com/Arceliar/ironwood v0.0.0-20240529054413-b8e59574e2b2 // indirect
|
|
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
|
|
github.com/Microsoft/go-winio v0.5.2 // indirect
|
|
github.com/RoaringBitmap/roaring v1.2.3 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bits-and-blooms/bitset v1.13.0 // indirect
|
|
github.com/bits-and-blooms/bloom/v3 v3.7.0 // indirect
|
|
github.com/blevesearch/bleve_index_api v1.1.6 // indirect
|
|
github.com/blevesearch/geo v0.1.20 // indirect
|
|
github.com/blevesearch/go-faiss v1.0.13 // indirect
|
|
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
|
|
github.com/blevesearch/gtreap v0.1.1 // indirect
|
|
github.com/blevesearch/mmap-go v1.0.4 // indirect
|
|
github.com/blevesearch/scorch_segment_api/v2 v2.2.9 // indirect
|
|
github.com/blevesearch/segment v0.9.1 // indirect
|
|
github.com/blevesearch/snowballstem v0.9.0 // indirect
|
|
github.com/blevesearch/upsidedown_store_api v1.0.2 // indirect
|
|
github.com/blevesearch/vellum v1.0.10 // indirect
|
|
github.com/blevesearch/zapx/v11 v11.3.10 // indirect
|
|
github.com/blevesearch/zapx/v12 v12.3.10 // indirect
|
|
github.com/blevesearch/zapx/v13 v13.3.10 // indirect
|
|
github.com/blevesearch/zapx/v14 v14.3.10 // indirect
|
|
github.com/blevesearch/zapx/v15 v15.3.13 // indirect
|
|
github.com/blevesearch/zapx/v16 v16.0.12 // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/containerd/log v0.1.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/distribution/reference v0.6.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 // indirect
|
|
github.com/golang/glog v1.0.0 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/pprof v0.0.0-20230808223545-4887780b67fb // indirect
|
|
github.com/h2non/filetype v1.1.3 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/hjson/hjson-go/v4 v4.4.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/juju/errors v1.0.0 // indirect
|
|
github.com/klauspost/compress v1.17.9 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
|
github.com/minio/highwayhash v1.0.3 // indirect
|
|
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/morikuni/aec v1.0.0 // indirect
|
|
github.com/mschoch/smat v0.2.0 // indirect
|
|
github.com/nats-io/jwt/v2 v2.5.8 // indirect
|
|
github.com/nats-io/nkeys v0.4.7 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/onsi/ginkgo/v2 v2.11.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_model v0.5.0 // indirect
|
|
github.com/prometheus/common v0.48.0 // indirect
|
|
github.com/prometheus/procfs v0.12.0 // indirect
|
|
github.com/quic-go/quic-go v0.45.2 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/rs/zerolog v1.29.1 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
go.etcd.io/bbolt v1.3.7 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
|
|
go.opentelemetry.io/otel v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.28.0 // indirect
|
|
go.uber.org/mock v0.4.0 // indirect
|
|
golang.org/x/mod v0.17.0 // indirect
|
|
golang.org/x/net v0.26.0 // indirect
|
|
golang.org/x/sys v0.24.0 // indirect
|
|
golang.org/x/text v0.17.0 // indirect
|
|
golang.org/x/time v0.6.0 // indirect
|
|
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
|
|
google.golang.org/protobuf v1.34.2 // indirect
|
|
gopkg.in/macaroon.v2 v2.1.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
maunium.net/go/maulogger/v2 v2.4.1 // indirect
|
|
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
|
|
modernc.org/libc v1.41.0 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.7.2 // indirect
|
|
modernc.org/strutil v1.2.0 // indirect
|
|
modernc.org/token v1.1.0 // indirect
|
|
)
|
|
|
|
go 1.21.0
|