Tao Wu
Tao Wu
> 请教一下,代码提交之前需要跑哪些测试,以确保基本的质量? - Run ./scripts/format_files.sh if you modified any codes in Pegasus - Run ./rdsn/scripts/linux/run-clang-format.sh in rDSN if any - Run ./run.sh test to pass CI locally. We use travis-ci...
@l2dy Thank you for your contribution! Some of the `sprintf` usages you fixed here are in our plan to be refactored. As a temporary fix, you can use [fmtlib](https://github.com/fmtlib/fmt) that's...
Seems we need to have a testing framework for the compactor. It's probably like pre-generating a set of SSTs and performing compaction multiple times with different settings.
First of all, we use the default ByteWiseComparator because we design the key schema based on it. We design the hashkey length ahead of the hashkey bytes in order to...
The coredump point (boost/asio/detail/impl/epoll_reactor.ipp:219) is: ``` void epoll_reactor::start_op(int op_type, socket_type descriptor, epoll_reactor::per_descriptor_data& descriptor_data, reactor_op* op, bool is_continuation, bool allow_speculative) { if (!descriptor_data) { op->ec_ = boost::asio::error::bad_descriptor; post_immediate_completion(op, is_continuation); return; }...
Please change the privilege settings of the doc and allow it to be publicly readable. :)
> As part of fuzzy test, we should also generate invalid sql, can sqlsmit support that? Currently, no. Invalid sql is too random. If there's unlimited time, surely you can...
> Do generated queries get very complex and hard to debug? No, actually. The cockroach version has parameters to control the overall complexity of the generated sql. It will limit...
> What did you expect to see? > The node server can be restarted and no any error. > > What did you see instead? > the perfcounter report the...
I think we can consider mocking such case in replica's UT, by intentionally append some mutations only to the plog, without appending to the slog. Let the server restart then,...