chengshiwen / influx-proxy

InfluxDB Proxy with High Availability and Consistent Hash
https://github.com/chengshiwen/influx-proxy/wiki
MIT License
354 stars 112 forks source link

写入时指定rp的问题 #22

Closed firewolf2010 closed 2 years ago

firewolf2010 commented 3 years ago

首先感谢作者非常棒的贡献!据我了解,shell909090/influx-proxy不支持写时指定rp。这个项目支持么?

chengshiwen commented 3 years ago

@firewolf2010 计划这个国庆支持/write接口指定rp

firewolf2010 commented 3 years ago

Great!

firewolf2010 commented 2 years ago

@chengshiwen 关于襁褓中的rp feature有个疑问: 例如在一个influxdb实例故障超过1天的情况下,向proxy写入指定rp为1天的数据,proxy如何保存rewrite数据,是全部保存还是按照rp保存,亦或者是在恢复时判断数据是否过期?

chengshiwen commented 2 years ago

proxy进行全部保存,只有rewrite到influxdb时,influxdb会选择丢弃超过范围的数据

firewolf2010 commented 2 years ago

@chengshiwen 明白了,感谢解答

chengshiwen commented 2 years ago

The 2.5.7 release has supported it