Timeseries DB
robinus2 / tsxdb Goto Github PK
View Code? Open in Web Editor NEWTimeseries DB
License: Apache License 2.0
Timeseries DB
License: Apache License 2.0
Getting a race condition
Read at 0x00c000033cb0 by goroutine 26:
runtime.mapaccess1_fast64()
/usr/local/bin/go/src/runtime/map_fast64.go:12 +0x0
github.com/RobinUS2/tsxdb/server/backend.(*MemoryBackend).__notLockedInitMaps()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/backend/backend_memory.go:82 +0x30c
github.com/RobinUS2/tsxdb/server/backend.(*MemoryBackend).Read()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/backend/backend_memory.go:121 +0x8e
github.com/RobinUS2/tsxdb/server.(*ReaderEndpoint).Execute()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/rpc_reader.go:41 +0x244
runtime.call64()
/usr/local/bin/go/src/runtime/asm_amd64.s:520 +0x3a
reflect.Value.Call()
/usr/local/bin/go/src/reflect/value.go:308 +0xc0
net/rpc.(*service).call()
/usr/local/bin/go/src/net/rpc/server.go:384 +0x21c
Previous write at 0x00c000033cb0 by goroutine 25:
runtime.mapassign_fast64()
/usr/local/bin/go/src/runtime/map_fast64.go:92 +0x0
github.com/RobinUS2/tsxdb/server/backend.(*MemoryBackend).CreateOrUpdateSeries()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/backend/backend_memory.go:210 +0x843
github.com/RobinUS2/tsxdb/server/backend.(*Metadata).CreateOrUpdateSeries()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/backend/metadata.go:8 +0x5a
github.com/RobinUS2/tsxdb/server.(*SeriesMetadataEndpoint).Execute()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/rpc_series_metadata.go:41 +0x740
runtime.call64()
/usr/local/bin/go/src/runtime/asm_amd64.s:520 +0x3a
reflect.Value.Call()
/usr/local/bin/go/src/reflect/value.go:308 +0xc0
net/rpc.(*service).call()
/usr/local/bin/go/src/net/rpc/server.go:384 +0x21c
Goroutine 26 (running) created at:
net/rpc.(*Server).ServeCodec()
/usr/local/bin/go/src/net/rpc/server.go:481 +0x491
net/rpc.(*Server).ServeConn()
/usr/local/bin/go/src/net/rpc/server.go:456 +0x244
github.com/RobinUS2/tsxdb/server.(*Instance).ServeConn()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/connection.go:64 +0xb6
Goroutine 25 (finished) created at:
net/rpc.(*Server).ServeCodec()
/usr/local/bin/go/src/net/rpc/server.go:481 +0x491
net/rpc.(*Server).ServeConn()
/usr/local/bin/go/src/net/rpc/server.go:456 +0x244
github.com/RobinUS2/tsxdb/server.(*Instance).ServeConn()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/connection.go:64 +0xb6```
Write at 0x00c0000100c0 by goroutine 1015:
github.com/RobinUS2/tsxdb/server.(*AuthEndpoint).register()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/rpc_auth.go:100 +0xf3
github.com/RobinUS2/tsxdb/server.(*Instance).Init()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/server.go:99 +0x10a6
github.com/Route42/timeseries-events/app/service.(*Instance).Init()
/home/jenkins/agent/workspace/snip/app/service/instance.go:86 +0x118e
github.com/Route42/timeseries-events/app/service_test.TestNew()
/home/jenkins/agent/workspace/snip/app/service/instance_test.go:17 +0x146
testing.tRunner()
/usr/local/bin/go/src/testing/testing.go:991 +0x1eb
Previous read at 0x00c0000100c0 by goroutine 1223:
github.com/RobinUS2/tsxdb/server.(*AuthEndpoint).Execute.func2()
/usr/local/go/pkg/mod/github.com/!robin!u!s2/tsxdb/[email protected]/rpc_auth.go:77 +0x51
// @todo schedule for removal, should not happen in backend memory logic, rather a level up the abstraction
Scan gradually in the background without blocking to keep memory pressure low(er)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.