3

We have testing we need to do using customer data which has TTL set on a table. But for testing purposes, we need the data to not expire.

What's the best way to keep the data from expiring?

Simplest to understand would be a way to disable the TTL or remove it.

4

2 回答 2

0

你可以看看这个。他们建议编辑数据中 TTL 列的值。您可以将其设置为非常大以进行测试,然后再将其更改回合理的值。

于 2013-05-07T15:46:03.983 回答
0

不知道您可以如何禁用 ttl,但可以向您展示最可能的路径。如您所知,Counter Column 没有关联的 TTL 值,因此如果您可以在 thrift API 中检查其实现并对普通 Column 执行相同(覆盖),那么您可能可以实现该功能。

于 2013-05-07T19:50:55.570 回答