历经一个半月的紧张研发和测试,FastCFS V3.4发布了。V3.4主要改进:
1. 引入选举节点,双副本防脑裂(即双活互备防脑裂,保证数据一致性);
2. fdir和fstore的binlog去重及历史数据清理,减少不必要的磁盘空间占用;
3. fdir实现的文件锁严格遵循POSIX规范:
1) 允许重入(同一进程内多次重复加锁);
2) UNLOCK均返回成功;
3) 一次UNLOCK可以解开多个锁;
4) UNLOCK支持部分解锁。
4. 去掉不必要的错误日志,网络连接失败日志中增加服务名称,方便定位问题。
v3.4修复的bug如下:
[fdir] bugfixed: must check load children for list dentry when storage engine is enabled
[fdir] bugfixed: CAS set data version correctly
[fdir] bugfixed: MUST change replication ptr array in the cluster thread
[fauth] bugfixed: padding with the terminating '\0' character for strtoll
[fstore] bugfixed: send active test when (task->offset == 0 && task->length == 0)
V3.4版本中fdir的稳定性得到了增强,欢迎大家安装和使用V3.4版本,使用过程中有任何问题或建议,欢迎提交issue或加入微信群交流。