describeIndexStats returning old data

Im using the describeIndexStats api to fetch a list of my namesapaces for visualization
export async function GET(req: any, res: any) {

if (req.method !== "GET") {
    res.status(405).json({ message: "Method not allowed" });
    return;
}
const test = await index.describeIndexStats()

return Response.json({ succeeded: true, data: test });

}
In this list, I had a namespace with 2000 entries. I used deleteAll and the namespace disappeared from the site. However, when using index.describeIndexStats(), the namespace is still returned. Additionally, I added 4 entries to the namespace again, and index.describeIndexStats() still reports it has 2000 entries, even though the site says it has 4.

Is there anything I should do differently?

Hi @mike.achternaam, and welcome to the Pinecone community forums!

Thank you for your question.

To confirm, how long does this issue persist for, if you time it? Are you still able to recreate the problem now with the same index?

Best,
Zack