summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* optimise read and write for Keys database (untested)Gravatar Joey Hess2015-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
* updateGravatar Joey Hess2015-12-22
|
* Merge branch 'master' into smudgeGravatar Joey Hess2015-12-22
|\
| * link to neurodebian standalone debGravatar Joey Hess2015-12-22
| |
| * remove obsolte note about sid package being out of dateGravatar Joey Hess2015-12-22
| |
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2015-12-22
| |\
| * | addurl: Added --with-files option.Gravatar Joey Hess2015-12-22
| | |
* | | wip v6 support for assistantGravatar Joey Hess2015-12-21
| | | | | | | | | | | | Files are not yet added to v6 repos in unlocked mode.
* | | Merge branch 'master' into smudgeGravatar Joey Hess2015-12-21
|\| |
| | * (no commit message)Gravatar https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f42015-12-21
| | |
| | * Added a commentGravatar frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac7202015-12-21
| |/
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2015-12-21
| |\
| * | addurl: Added --batch option.Gravatar Joey Hess2015-12-21
| | |
| | * Added a commentGravatar https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f42015-12-21
| |/
| * Added a commentGravatar cbaines2015-12-21
| |
| * Added a commentGravatar frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac7202015-12-21
| |
| * Added a commentGravatar cbaines2015-12-21
| |
| * Added a commentGravatar cbaines2015-12-21
| |
| * Added a commentGravatar https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf5742015-12-21
| |
| * Added a comment: A problem with SmartGit then?Gravatar jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f285652015-12-21
| |
| * (no commit message)Gravatar frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac7202015-12-20
| |
| * Added a commentGravatar sts2015-12-20
| |
| * updateGravatar Joey Hess2015-12-19
| |
| * reuse commentGravatar Joey Hess2015-12-19
| |
| * commentGravatar Joey Hess2015-12-19
| |
| * commentGravatar Joey Hess2015-12-19
| |
| * commentGravatar Joey Hess2015-12-19
| |
| * commentGravatar Joey Hess2015-12-19
| |
| * commentGravatar Joey Hess2015-12-19
| |
| * commentGravatar Joey Hess2015-12-19
| |
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2015-12-19
| |\
| * | status: On crippled filesystems, was displaying M for all annexed files that ↵Gravatar Joey Hess2015-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)Gravatar https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf5742015-12-19
| |/
| * add news item for git-annex 5.20151218Gravatar Joey Hess2015-12-18
| |
| * Added a commentGravatar neocryptek@659edac901ffbc8e541a974f8f18987eeafc63bd2015-12-18
| |
* | interaction with shared clonesGravatar Joey Hess2015-12-17
| |
| * Added a commentGravatar SamuelTardieu2015-12-17
| |
| * (no commit message)Gravatar jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f285652015-12-17
| |
| * (no commit message)Gravatar pete.ward@26c41318616c4cf9601d0431557c1df734ccdb772015-12-16
| |
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2015-12-16
| |\
| * | devblogGravatar Joey Hess2015-12-16
| | |
* | | updateGravatar Joey Hess2015-12-16
| | |
* | | update todo listGravatar Joey Hess2015-12-16
| | |
* | | fix docsGravatar Joey Hess2015-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 smudgeGravatar Joey Hess2015-12-16
|\| |
| | * Added a commentGravatar wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d2015-12-16
| | |
| | * poll vote (My phone (or MP3 player))Gravatar 14.203.223.702015-12-16
| |/
* | starting to work on test suite for v6Gravatar Joey Hess2015-12-15
| |
* | Use git-annex init --version=6 to get v6 for nowGravatar Joey Hess2015-12-15
| | | | | | | | | | Not ready to make it default because of the direct mode upgrade needing to all happen at once.
* | update todo listGravatar Joey Hess2015-12-15
| |