Fanhao Kong

Results 6 issues of Fanhao Kong

When I use the command: git apply ffmpeg_nvmpi.patch in my jetson tx2, the following error occurs! ``` error: patch failed: configure:340 error: configure: patch does not apply error: patch failed:...

**Build Docker Failed** When I build the environment for TeXt Theme with docker, I failed to Step 8/10 RUN bundle install. And I want to know how to fix this...

### Task Description ObMySQLRequestManager中使用 一个无锁的 ObRaQueue 记录每一个 audit 记录的指针。ObRaQueue 是无锁实现,但内存是静态申请的,导致在小租户下内存占用较大 (80M) 。目前仅在meta租户和mini mode下使用较小的queue size初始化以减少内存占用,但不能处理租户内存扩缩容场景,希望将此queue做为动态大小。 ### Solution Description 设计目标: 1. 向上提供随机读取的接口; 2. 支持内存动态扩缩容; 3. 无锁实现高并发线程安全; 具体细节: ![image](https://github.com/oceanbase/oceanbase/assets/45626125/e1023d42-76e1-4356-a809-f1d986bdc60d) 使用一个两层队列的结构,通过构造多个小的静态队列来组成一个大的动态队列。 1. 节点内存:一级队列存放二级队列的指针和该二级队列上的引用计数,占用16B;二级队列存在每个Audit记录的指针,占用8B; 2....

### Task Description 某些情况下,表达式会出现冗余判断,我们希望借助于先验的表达式集合来消除这种冗余判断。例如下列SQL: select 1 from t1 where c1 > c2 and case when c1 > c2 then c1 else c2 end > 1 由于c1 > c2在case when表达式之前已经判断过,导致case when中的c1...

### Task Description When users write SQL, there maybe some redundant case when expressions. We can rewrite these redundant case when expressions according to rewrite rules. Such that, we can...

Hi, I have done the my own lab2, and has passed all test code in gradescope. But there is a question in my code that I can't understand, Why the...