I think chunked files shouldn't have produced errors on reads -- at least, the --dry-run was still clean for me on both hosts before D14981.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 10 2016
Testing has been completed successfully.
I've realigned this around support for IAM Roles, because we now use a first-party client after D14982.
The error output was not from the script, it was just errors. I think I remember looking into this a long while ago and it's because the migrate script (incl dry run) actually reads all of the files. The act of reading the file is what generated the error. I should have described this a little better than "dry run shows some files are going to fail", and instead described it as "dry run shows errors for some of the files".
Jan 9 2016
We should be in good shape to move forward here after changes in T5155. My plan is roughly:
I migrated my development instance (~3,600 files from ~1 year of work -- I wiped the instance when we started doing instancing for Phacility circa Jan 2015) from S3 -> Disk and then partially back to S3 without any real problems, modulo an issue with chunked files. (Two files did error, but I found them in a different S3 bucket I'd used for testing a year or so ago.)
Dry run shows that some files are going to fail
(The case for doing this is weaker if it isn't for IAM Roles, but the S3.php thing doesn't support signature v4 (which AWS now requires in some regions) and the official SDK doesn't support older PHP, and having a first-party, future-based client will perhaps makes things easier eventually with T5544.)
I think there are two different issues with IAM.
Some of the older instances are beginning to collect enough data in MySQL to motivate this more strongly in the near term, especially as database data is currently stored multiple times on disk in backups.
Jan 8 2016
Dec 22 2015
Dec 21 2015
D14846 should fix the package case, but I'm going to leave this open for followup work: Files, Pastes, Maniphest should get indexes; and we should replace the powerful systems in Projects and People.
As general infrastructure cleanup, I would like to split the existing SearchEngine and DestructionEngine components apart...
As part of this cleanup, we should also fix T9890.
Dec 20 2015
Dec 18 2015
Dec 17 2015
Dec 16 2015
Maybe IndexEngine is a better name than FulltextEngine.
Upshot is that this seems very promising to me. I think the pathway forward here is something like:
Okay, here's a query script:
I created an ngrams table like this:
Try the dedicated table on the files dataset and see how happy MySQL is about that (if it's better but still not great, we might still do this in conjunction with bigrams/trigrams).
Dec 14 2015
Thanks for thinking through all of these! Let me know if there is anything I can help with.
Nov 24 2015
This report doesn't appear to describe a specific problem.
Just to set expectations:
Nov 23 2015
Nov 11 2015
Nov 10 2015
Thank you for your answer, this helps me understanding the issue better.
T9212 better explains why we're not able to handle very specific support needs (for free) on a day to day basis.
You have basically two options:
What I would like to understand is why the directory for the local file storage is cluttered so fast with empty directories and especially why the empty folders are not removed.
Why do you need to understand this, and what are you attempting to do. Generally it's not a good use of upstream time to explain the underpinnings of Phabricator unless you are another Phabricator developer.
Yes, see Paid Prioritization. Shoot us an email at contact@phacility.com if you'd like to move forward.
Can we get this prioritized? The feature request is open for some time now and letting us know its fate would be much appreciated.
Now the upload of large files (> 8Mb) works by splitting in chunks via git push. Apparently, the changes for local file storage were not saved before.
Nov 9 2015
What's the actual error you've encountered when trying to add such a file?
Nov 6 2015
D14411 implements exact string matching, but I will leave this ticket open for support partial string matching as well. There are some technical considerations block this, see D14411#161139.
Nov 5 2015
Oct 28 2015
Maybe due to T5685 ?
Oct 27 2015
@Krinkle: I can't come up with a reasonable way to fix the height=300 comment preview case unless we render the element entirely on the client or relax the WMF constraints. I think the WMF constraints are excessively paranoid, but it's moot since you're the only person complaining about this and you're on the WMF install, so adding a "[X] Use less paranoid caching that doesn't flicker all the time." option wouldn't fix the problem for you.
Ah OK... I can't rememberif I had set a height when I observed this behavior.
- With height=300, yeah, it's going to be a flickery mess.
- Without height=300, it's a flickery mess in Safari only, in the last few weeks, as far as I can tell.
I'm fairly sure that I've observed that behavior in Chrome.
I'm pretty sure the preview case is recent (last couple weeks) and I don't think we changed anything, but I haven't hunted down what actually did change. My theory was that it was a change in Safari behavior, since I don't see this behavior in Chrome and I first observed it after applying an OSX update. Are you using Safari in OSX?


