docs/how-to-guides/entity-reserialization-of-from-v2-to-v3.md
Entity Key Serialization version 2 is now deprecated. All new and existing Feast deployments should shift to using serialization version 3.
However, a challenge arises when existing FeatureViews in online or offline stores have written features with version 2. A version 2 serialized entity key cannot be retrieved using the version 3 deserialization algorithm.
The solution is to reserialize the entity keys from version 2 to version 3.
Follow the following procedures to reserialize the entity key to version 3 in feature View in an offline / online store.
In short, you need to iterate through all the feature views in your Feast repository, retrieve their serialized entity keys (if stored in version 2), reserialize them to version 3, and then update the online/offline store or wherever the serialized keys are stored.
Load the FeatureStore object to access all feature views in your repository.
Use the list_feature_views() method to retrieve all feature views in the repository.
For each feature view, retrieve the serialized entity keys stored in the online/offline store or other storage
Use the reserialize_entity_v2_key_to_v3 function to convert the serialized keys from version 2 to version 3. Use [entity key encoding utils](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/key_encoding_utils.py) function `reserialize_entity_v2_key_to_v3`.
Write the reserialized keys back to the online/offline store or the appropriate storage