Skip to content

Resolved issue serializing deleted keys to the server after call to Clear()#29

Open
devmonkey22 wants to merge 1 commit intoleewang0:masterfrom
devmonkey22:master
Open

Resolved issue serializing deleted keys to the server after call to Clear()#29
devmonkey22 wants to merge 1 commit intoleewang0:masterfrom
devmonkey22:master

Conversation

@devmonkey22
Copy link
Contributor

Regardless of if SerializedRawData found and removed the key, mark the key as deleted to handle when Clear() is called, which clears all SerializedRawData immediately, so then keys never really get deleted at the server.

…is as deleted to handle when Clear() is called, which clears all SerializedRawData immediately, so then keys never really get deleted at the server.
@devmonkey22
Copy link
Contributor Author

@welegan Can you confirm if this satisfies your intent between the logic in RedisSessionStateItemCollection.Clear() which also clears the SerializedRawData collection too; and the RedisSessionStateItemCollection.GetChangedObjectsEnumerator() called during RedisSessionStateStoreProvider.SerializeToRedis ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant