geek-frio / trace_db Goto Github PK
View Code? Open in Web Editor NEWSolve skywalking tracedb storing problem based on tantivy.
Solve skywalking tracedb storing problem based on tantivy.
目前无事务写入保障,会有如下问题
增加本地调用的特性,服务在启动的时候会同时启动client和server的服务,对于自己调用自己的情况,是不需要走网络来进行的,这样就会受限于grpc stream的传输上限。
let fsm = Box::new(TagFsm::new(r, None, engine));
let state_cnt = Arc::new(AtomicUsize::new(0));
let mailbox = BasicMailbox::new(s, fsm, state_cnt);
let fsm = mailbox.take_fsm();
if let Some(mut f) = fsm {
f.set_mailbox(Cow::Borrowed(&mailbox));
mailbox.release(f);
}
现在的初始化方式是这样的,很难读懂这段代码到底在做什么事情。
(TagFsm和BatchSystem的实现是参考的tidb中的tikv的代码)
需要重新设计优化。
针对时序型的数据提供创建不同类型schema的能力。
skdb::router::Router::send_msg 的异常控制有问题:
异常情况一:Mailbox send failed;
异常情况二:不存在对应的Mailbox;
外部在报错时都会统一进行重建Index的处理。
解决方案:
在出现问题的时候,可以尝试重建TagFsmEngine。
需要drop之前创建过的Tantivy Index和Writer 资源。
Problems:
需要确认RedisTTLSet在Cluster集群中多个机器同时注册机器grpc服务信息时是否有并发问题。
增加SQL查询能力
不再使用多个Workspace的方式
1.完成segment接收后向Batch processor redirect逻辑。
2.segment request 完成, ack callback 向client端发送确认消息。
RemoteMsgPoller 下线不够平滑。
对应channel可能仍有数据,需要进行ack后再进行下线。
Testcase for BatchSystem write logic
cluster watcher 需要进行简单重构以适应单测的编写
block_on
) attempted to block the current thread while the thread is being used to drive asynchronous tasks.',"到目前为止,已经发现的问题:
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.