DCache icon indicating copy to clipboard operation
DCache copied to clipboard

A distributed in-memory NOSQL system based on TARS framework, support LRU algorithm and data persists on back-end database. Users can easily deploy, publish, and scale services on the web interface.

Results 35 DCache issues
Sort by recently updated
recently updated
newest added

update CMakeLists.txt in test dir

uint32_t _expiret; // 数据过期的绝对时间,由设置或更新数据时提供,0表示不关心此时间 绝对时间由调用者提供,如果调用者和DCache时间不一致,导致数据不在预期内过期,调用者无法掌控 是否可以让调用者只传递数据保持的秒数,DCache内部转换为时间戳

error msg: CMake Error at CMakeLists.txt:15 (include): include could not find requested file: /usr/local/tars/cpp/makefile/tars-tools.cmake CMake Error at src/ConfigServer/CMakeLists.txt:3 (gen_server): Unknown CMake command "gen_server".

cmake version 3.10.2 执行cmake时报错: -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working...

![image](https://user-images.githubusercontent.com/8895540/124747318-60403680-df54-11eb-91b0-585f4fb166c7.png)

环境:Centos7 虚拟机, 虚拟内存2048M,单核处理器 [ 60%] Building CXX object src/OptServer/CMakeFiles/DCacheOptServer.dir/DCacheOptImp.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions....

用容器创建的测试环境,刚刚创建的服务,过一会服务状态就会显示Off ![image](https://user-images.githubusercontent.com/4635861/154663120-491b47f2-da0c-487f-8b11-00ecca847eba.png) 删除SemKey.dat文件才可以启动。重启容器后又会出现同样的错误提示。 ``` [initialize server] .............................. [Done] --   | ====================================================================================================   | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|CacheServer::addConfig pullConfig result = [succ] get remote config:CacheServer.conf   | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|RouterHandle::initialize Succ   | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|CacheServer::initialize groupName:TestKValueKVGroup1   |...

源码编译安装TarsFramework最新代码成功,TasrWeb可成功访问,TarsWeb上显示的版本如下: web:2.4.20 framework:3.0.2 下载DCache源码编译,make时出错,错误信息如下: ``` /usr/local/tars/cpp/include/tup/TarsJson.h:713:28: 附注: template argument deduction/substitution failed: /usr/local/tars/cpp/include/tup/TarsJson.h: In substitution of ‘template static tars::JsonValueObjPtr tars::JsonOutput::writeJson(const T&, typename std::enable_if::type) [with T = std::map]’: /dCacheSrc/DCache/src/PropertyServer/Property.h:1855:88: required from here...

![企业微信截图_16347969738913](https://user-images.githubusercontent.com/1287716/138221903-5cacd65b-de8b-4b2a-bf3a-6d9d06bfab7a.png) ConfigServer, OptServer和PropertyServer都报了这个错 但是后面上传ProxyServer等又能成功 ![企业微信截图_16347971201328](https://user-images.githubusercontent.com/1287716/138222102-b24db516-9052-406b-b011-a13b0b0569d9.png) 打算手动部署opt等server,然而提示应用名非法 ![企业微信截图_16347972334648](https://user-images.githubusercontent.com/1287716/138222351-9d0309ff-999f-4e49-a67d-5eb0058405f2.png) 操作严格按照DCache和Tars的手动安装步骤来的,环境:wsl2下的ubuntu20.04