All Products
Search
Document Center

Tablestore:What do I do if the [table ttl] must be bigger than or equal search index ttl error message is returned when I modify the TTL of a data table?

Last Updated:Apr 26, 2024

When you modify the time-to-live (TTL) of a data table, make sure that the new TTL of the table is greater than or equal to the TTL of the search index created for the data table.

Problem description

The following error occurs when you modify the TTL of a data table:

[table ttl] must be bigger than or equal search index ttl

Cause

A search index is created for the table. The TTL of the table must be greater than or equal to the TTL of the search index.

Solution

Check whether the TTL of the table is smaller than the TTL of the search index.

  • If the TTL of the table is smaller than the TTL of the search index, you must reduce the TTL of the search index before you modify the TTL of the table. For more information, see Specify the TTL of a search index and Data versions and TTL.

  • If the TTL of the table is greater than or equal to the TTL of the search index, you can directly modify the TTL of the table. For more information, see Data versions and TTL.