SiLe Zhou
SiLe Zhou
https://editor.casbin.org/#C8SV4KMZ2 model ``` [request_definition] r = sub, obj, act [policy_definition] p = sub_rule, obj_rule, act [policy_effect] e = some(where (p.eft == allow)) [matchers] m = eval(p.sub_rule) && eval(p.obj_rule) && r.act...
@arun0009 Shared at https://editor.casbin.org/#6AA6337N3 RBAC is used for a more concise representation. For casbin, both field-level access and access to normal resources are treated as strings
Thanks for your feedback, here are some of my thoughts. 1. Use smaller types 2. Don't allocate all at once, pre-allocate a part, and then take advantage of conditional branching...
# 验证过程中碰到的问题: * 文档版本:v7.5.0 * 环境:VMware 虚拟机新配的环境,Centos7.9,内存 16GB, 硬盘 40 GB,处理器 8 ## 部署本地测试集群 碰到的问题是,直接用 Centos7.9 装好自带的 FireFox 浏览器,tiup playground 启动集群后,访问 Dashboard 网页一直是加载等待的状态。tidb 可以正常连接,Grafana, Prometheus 可以正常访问。 Firefox 版本  查阅了...
@i18n-now I'm interested in this question, but I don't know much about dragonfly's code at the moment. Do you have any reference materials that can help me quickly understand its...
Need some help: ``` struct Context { explicit Context(engine::Storage *storage) : storage_(storage), snapshot_(storage->GetDB()->GetSnapshot()) {} engine::Storage *storage_ = nullptr; const rocksdb::Snapshot *snapshot_ = nullptr; rocksdb::WriteBatchWithIndex* batch_ = nullptr; Context() = default;...
> Need some help: > > ``` > struct Context { > explicit Context(engine::Storage *storage) : storage_(storage), snapshot_(storage->GetDB()->GetSnapshot()) {} > > engine::Storage *storage_ = nullptr; > const rocksdb::Snapshot *snapshot_ =...
I think there are currently two ways: 1. Keep the current WriteBatch, then use WriteBatch.Iterator(&handler) when writing, and refer to `batch_debugger.h` to write a `WriteBatch::Handler` that appends WriteBatch operations to...
Some other questions: 1. What isolation level can we expect if kvrocks requests are processed by multiple threads without using transactions? Serializable, snapshot isolation, or something else? 2. What resources...