Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | optimise read and write for Keys database (untested) | Joey Hess | 2015-12-23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Writes are optimised by queueing up multiple writes when possible. The queue is flushed after the Annex monad action finishes. That makes it happen on program termination, and also whenever a nested Annex monad action finishes. Reads are optimised by checking once (per AnnexState) if the database exists. If the database doesn't exist yet, all reads return mempty. Reads also cause queued writes to be flushed, so reads will always be consistent with writes (as long as they're made inside the same Annex monad). A future optimisation path would be to determine when that's not necessary, which is probably most of the time, and avoid flushing unncessarily. Design notes for this commit: - separate reads from writes - reuse a handle which is left open until program exit or until the MVar goes out of scope (and autoclosed then) - writes are queued - queue is flushed periodically - immediate queue flush before any read - auto-flush queue when database handle is garbage collected - flush queue on exit from Annex monad (Note that this may happen repeatedly for a single database connection; or a connection may be reused for multiple Annex monad actions, possibly even concurrent ones.) - if database does not exist (or is empty) the handle is not opened by reads; reads instead return empty results - writes open the handle if it was not open previously | ||
* | update | Joey Hess | 2015-12-22 |
| | |||
* | Merge branch 'master' into smudge | Joey Hess | 2015-12-22 |
|\ | |||
| * | link to neurodebian standalone deb | Joey Hess | 2015-12-22 |
| | | |||
| * | remove obsolte note about sid package being out of date | Joey Hess | 2015-12-22 |
| | | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2015-12-22 |
| |\ | |||
| * | | addurl: Added --with-files option. | Joey Hess | 2015-12-22 |
| | | | |||
* | | | wip v6 support for assistant | Joey Hess | 2015-12-21 |
| | | | | | | | | | | | | Files are not yet added to v6 repos in unlocked mode. | ||
* | | | Merge branch 'master' into smudge | Joey Hess | 2015-12-21 |
|\| | | |||
| | * | (no commit message) | https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 | 2015-12-21 |
| | | | |||
| | * | Added a comment | frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720 | 2015-12-21 |
| |/ | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2015-12-21 |
| |\ | |||
| * | | addurl: Added --batch option. | Joey Hess | 2015-12-21 |
| | | | |||
| | * | Added a comment | https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 | 2015-12-21 |
| |/ | |||
| * | Added a comment | cbaines | 2015-12-21 |
| | | |||
| * | Added a comment | frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720 | 2015-12-21 |
| | | |||
| * | Added a comment | cbaines | 2015-12-21 |
| | | |||
| * | Added a comment | cbaines | 2015-12-21 |
| | | |||
| * | Added a comment | https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574 | 2015-12-21 |
| | | |||
| * | Added a comment: A problem with SmartGit then? | jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565 | 2015-12-21 |
| | | |||
| * | (no commit message) | frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720 | 2015-12-20 |
| | | |||
| * | Added a comment | sts | 2015-12-20 |
| | | |||
| * | update | Joey Hess | 2015-12-19 |
| | | |||
| * | reuse comment | Joey Hess | 2015-12-19 |
| | | |||
| * | comment | Joey Hess | 2015-12-19 |
| | | |||
| * | comment | Joey Hess | 2015-12-19 |
| | | |||
| * | comment | Joey Hess | 2015-12-19 |
| | | |||
| * | comment | Joey Hess | 2015-12-19 |
| | | |||
| * | comment | Joey Hess | 2015-12-19 |
| | | |||
| * | comment | Joey Hess | 2015-12-19 |
| | | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2015-12-19 |
| |\ | |||
| * | | status: On crippled filesystems, was displaying M for all annexed files that ↵ | Joey Hess | 2015-12-19 |
| | | | | | | | | | | | | were present. Probably caused by a change to what git status displays in this situation. Fixed by treating files git thinks are modified the same as typechanged files. | ||
| | * | (no commit message) | https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574 | 2015-12-19 |
| |/ | |||
| * | add news item for git-annex 5.20151218 | Joey Hess | 2015-12-18 |
| | | |||
| * | Added a comment | neocryptek@659edac901ffbc8e541a974f8f18987eeafc63bd | 2015-12-18 |
| | | |||
* | | interaction with shared clones | Joey Hess | 2015-12-17 |
| | | |||
| * | Added a comment | SamuelTardieu | 2015-12-17 |
| | | |||
| * | (no commit message) | jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565 | 2015-12-17 |
| | | |||
| * | (no commit message) | pete.ward@26c41318616c4cf9601d0431557c1df734ccdb77 | 2015-12-16 |
| | | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2015-12-16 |
| |\ | |||
| * | | devblog | Joey Hess | 2015-12-16 |
| | | | |||
* | | | update | Joey Hess | 2015-12-16 |
| | | | |||
* | | | update todo list | Joey Hess | 2015-12-16 |
| | | | |||
* | | | fix docs | Joey Hess | 2015-12-16 |
| | | | | | | | | | | | | | | | "git -a annex.largefiles=* add" cannot be used.. git does not pass the config along to the smudge filter, sadly. | ||
* | | | Merge branch 'master' into smudge | Joey Hess | 2015-12-16 |
|\| | | |||
| | * | Added a comment | wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d | 2015-12-16 |
| | | | |||
| | * | poll vote (My phone (or MP3 player)) | 14.203.223.70 | 2015-12-16 |
| |/ | |||
* | | starting to work on test suite for v6 | Joey Hess | 2015-12-15 |
| | | |||
* | | Use git-annex init --version=6 to get v6 for now | Joey Hess | 2015-12-15 |
| | | | | | | | | | | Not ready to make it default because of the direct mode upgrade needing to all happen at once. | ||
* | | update todo list | Joey Hess | 2015-12-15 |
| | |