mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 03:56:42 +00:00
This patch adds the missing IndexStatus and Backfilling fields for the GSIs listed by a DescribeTable request. These fields allow an application to check whether a GSI has been fully built (IndexStatus=ACTIVE) or currently being built (IndexStatus=CREATING, Backfilling=true). This feature is necessary when a GSI can be added to an existing table so its backfilling might take time - and the application might want to wait for it. One test - test_gsi.py::test_gsi_describe_indexstatus - begins to pass with this fix, so the xfail tag is removed from it. Fixes #11471. Signed-off-by: Nadav Har'El <nyh@scylladb.com>