marcoCasamento / Hangfire.Redis.StackExchange

HangFire Redis storage based on original (and now unsupported) Hangfire.Redis but using lovely StackExchange.Redis client
Other
460 stars 109 forks source link

Does GlobalConfiguration.SetDataCompatibilityLevel affect something in Redis Storage? #134

Closed FixRM closed 8 months ago

FixRM commented 8 months ago

Hello, and thank for your work! Can you please answer, does GlobalConfiguration.SetDataCompatibilityLevel affect something in Redis Storage or it's only related to first party SQL Server storage?

marcoCasamento commented 8 months ago

There is nothing specifically tied to the storage, meaning there is no change in the data structure, is more about how the data in the storage are saved and retrieved, it seems serialization format has changed. You should refer to hangfire documentation https://docs.hangfire.io/en/latest/upgrade-guides/upgrading-to-hangfire-1.7.html for more insight, and I haven't tried to raise the compatibility level from it's default; for what I can say, there is nothing in the storage tied to compatibility level. There are instead other changes on the storage about "supported features" by the storage, that is keep expanding and I'm working for supporting them in these days, but that's another story.

Il ven 12 gen 2024, 06:25 Artem Grunin @.***> ha scritto:

Hello, and thank for your work! Can you please answer, does GlobalConfiguration.SetDataCompatibilityLevel affect something in Redis Storage or it's only related to first party SQL Server storage?

— Reply to this email directly, view it on GitHub https://github.com/marcoCasamento/Hangfire.Redis.StackExchange/issues/134, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABW2Y4BGMGMDNJB4LQTSMLYODCOHAVCNFSM6AAAAABBXSP4B6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TQMBZGY3TINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

FixRM commented 8 months ago

Thanks @marcoCasamento