-
### 分布式锁的互斥怎么实现的?
我看代码,是把所有的加锁请求打到leader上,然后leader进行加锁和锁通知处理
但是我看了一下没有对所的互斥进行控制,是我哪里看漏了吗?
### 源代码(用memery的举例子)
```java
@Override
public void tryLockWith(final byte[] key, final byte[…
-
### Your question
在查看jraft-example的rheakv代码时,发现regionId是在初始化rheaKVStore时人为指定的参数,也就意味着获取到的rheaKVStore,存储数据都是在该regionId分区中的。
而官网中的定义如下:
Region: 最小的 KV 数据单元,可理解为一个数据分区或者分片,每个 region 都有一个左闭右开的区间 [s…
-
2023-09-23 06:01:18,449 INFO Node received PreVoteResponse from xxx.249:7848, term=4, granted=false.
2023-09-23 06:01:18,514 INFO Node received PreVoteResponse from xxx.251:7848, term=4, granted=…
-
1. JDK: dragonwell-17.0.3.0.3+7-GA、graalvm-community-openjdk-22.0.2+9.1
2. Nacos: 2.4.1
3. 解决方法:增加参数 `--add-opens java.base/java.lang=ALL-UNNAMED`
4. 异常日志
```
java.lang.reflect.InaccessibleObje…
-
### Describe the bug
There is a deadlock in `NodeImpl` when working with full `LogManagerImpl#diskQueue`, `FSMCallerImpl#taskQueue` and `NodeImpl#writeLock`.
1. `NodeImpl#executeApplyingTasks()` t…
-
![save](https://github.com/apache/incubator-seata/assets/162080501/7b4bf127-6bc8-4b86-8b27-e612a124256b)
**调用save来insert到数据库,**
**idea里是显示这个错:**
![index](https://github.com/apache/incubator-seata…
-
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x00007ffea1073879, pid=25984, tid=0x0000000000004d8c
#
# JRE version: J…
-
![微信图片_20240327191452](https://github.com/apache/incubator-seata/assets/57520133/549fc217-b401-4e32-b720-2ebd2627f1a4)
19:00:15.308 INFO --- [ batchLoggerPrint_1_1] [ocessor.server.BatchLo…
-
### Your question
I have a question about RheaKV architecture.
This is unclear to me, how the following situation is handled:
Imagine that we have several puts (let's call them [put1, put2]) to…
-
### Your question
Describe your question clearly
1、使用jraft-rheakv的时候,客户端的这个rheaKVStore,是初始化一次,保持内存中唯一就行,还是随用随释放?那种是最佳实践。
### Your scenes
Describe your use scenes (why need this feature)
…