Skip to content

Indexing step not working properly when "use_checkpoints" is turned on #783

@yuvalyaron

Description

@yuvalyaron

When the indexing step runs with checkpoints enabled - i.e., with the setting in this config json:

"use_checkpoints": true,

no vectors will be created in the index.

This issue occurs because some methods wrapped with a checkpoint cache decorator modify their input arguments. When the method's result is cached, the method doesn't execute again, leaving the input arguments unmodified. This creates a bug, as the calling code expects those arguments to be updated.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions