-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert setting Document#_stats#coreVersion
in the pack builder
#14600
Conversation
Probably so. It might be good to pull from system.json as well if we can (the verified version? The min version? Might need to be the min version) |
25b752a
to
f29ac93
Compare
12.321
system.json
system.json
Document#_stats#coreVersion
set to the minimum core version in system.json
The |
Wouldn't that already happen because every system reason replaces all of the database files? I guess one could argue its not useful to even put in that data if that happens I guess. |
The trigger for a server-side migration is |
It's a bit of a mess to manually keep track of supported server-side migrations as it involves unminifying a core file to look for changes in a |
I think it would actually be better to not strip the value on extract instead of adding it back on build.
|
Wouldn't it also migrate for dev builds as well if set to the min version and the dev is currently running a later version? Could be that there's really no good way around it. It could be that the slow load time is mostly console log noise. Unless of course its possible for foundry to load a db for a core version that's greater than it? Then the solution might be stripping the verified version. Not stripping the value on extract would lead it to be based on who contributed, which is going to not really be that consistent. |
I tried commenting out the logs but it didn't do much. It's really just the system having a ton of documents to traverse. |
I meant foundry server logs primarily. I don't recall it being nearly that slow in v11, but in v11 I run the windows application. If that is what you meant by commenting out, I suppose not much can be done for it. |
If foundry can load documents of later foundry versions and doesn't prevent its load, then setting it to the verified version is what I think it should do (if it were not compatible, the min would be increased after all). Otherwise perhaps not including it at all is the correct play. |
f29ac93
to
e3b2543
Compare
e3b2543
to
3e62fd6
Compare
Document#_stats#coreVersion
set to the minimum core version in system.json
Document#_stats#coreVersion
in the pack builder
Reverted back to v11 state. |
Maybe this should only be added to the packs in development builds?