Commit graph

26728 commits

Author SHA1 Message Date
Joey Hess
09241f17ed
document v8 2019-11-06 17:13:01 -04:00
Joey Hess
3b820f08f7
use new name for new format content identifier db
It will be populated automatically by the next command that needs data
from it, the same way it gets populated in a fresh clone. That may be a
little expensive, but it's a one time cost, and no slower than in a
fresh clone.
2019-11-06 16:43:52 -04:00
Joey Hess
1b5f4b67b5
use new name for new format fsck db
The old db is cleaned up when a new incremental fsck is started.

The incremental fsck won't pick up where the old one left off, but I
consider this a minor enough thing that it can just be documented and
won't be a problem.
2019-11-06 16:27:25 -04:00
Joey Hess
89bdcffdfa
found a way to extract InodeCache from git index
This will allow a race-free database transition. It is somewhat hairy in
that it depends on an unspecified git output format.
2019-11-06 14:23:00 -04:00
Joey Hess
6147130e86
Merge branch 'master' into sqlite 2019-11-05 12:59:28 -04:00
Joey Hess
68a579313d
update 2019-11-05 12:57:46 -04:00
Joey Hess
41825195ba
Merge branch 'master' of ssh://git-annex.branchable.com 2019-11-05 12:51:50 -04:00
Joey Hess
fccfcba89f
update to document current state of sqlite branch 2019-11-05 12:50:53 -04:00
Joey Hess
3cb2427dbc
fix typo 2019-11-04 14:30:27 -04:00
yarikoptic
0173b153de added <details> to fold done/fixed things 2019-11-04 17:56:46 +00:00
Ilya_Shlyakhter
363be9e338 Added a comment 2019-11-04 16:40:53 +00:00
Joey Hess
b1cf0869db
link to todo 2019-11-04 11:48:45 -04:00
Joey Hess
96c81fa4f1
comment 2019-11-04 11:47:21 -04:00
irieger
e56521543b Added a comment: comment 5 2019-11-04 08:30:08 +00:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
6c9f7f677b Added a comment: Ssh config 2019-11-03 23:49:05 +00:00
Ilya_Shlyakhter
59fa021c3d added todo re: git-annex-sync handling of linked worktrees 2019-11-03 23:06:39 +00:00
yarikoptic
ced983d4bf Added a comment: the issue persists 2019-11-01 18:12:27 +00:00
plasmastrike@66c1cae4abae92d03faf344111c446a1908981ff
e7962d3701 Added a comment: Yggdrasill 2019-11-01 13:34:36 +00:00
jonjitsu
047e6ce4a3 2019-11-01 11:55:22 +00:00
jonjitsu
32ff08f322 2019-11-01 11:54:28 +00:00
Ilya_Shlyakhter
e64b4c03ee Added a comment: annexing previously non-annexed files, and compatibility with v5 2019-10-31 16:19:40 +00:00
Ilya_Shlyakhter
d578f9ce13 Added a comment: not annexing files already stored in git 2019-10-31 16:03:42 +00:00
Ilya_Shlyakhter
72252e1be4 more notes on communicating breaking changes 2019-10-31 15:52:10 +00:00
bremner
d69d9088a7 Added a comment: plz don't annex already committed files 2019-10-31 13:50:10 +00:00
yarikoptic
b6c3b60a5b added meta tags 2019-10-31 12:55:54 +00:00
yarikoptic
e756f8d2a8 initial report on an error message from addurl 2019-10-31 12:55:03 +00:00
ghen1
449568e5dc Added a comment 2019-10-30 22:51:27 +00:00
Joey Hess
d3e4de0175
fix test suite
The test suite found a bug; select_ can fail now because a uniqueness
constrain has been added.

Now the test suite passes.

Also, I'm satisfied the changed PersistField instances work.
Looking over what changed, and what I've already tested, Key, FilePath,
and InodeCache are known working; ContentIdentifier is trivial
ByteString to blob; and SSha is trivial String to varchar. Both are
tested by the test suite. I've also tested the new FileSize and
EpochTime instances already, and they work.
2019-10-30 15:51:37 -04:00
Joey Hess
d7ecac66d2
notes 2019-10-30 15:31:16 -04:00
Joey Hess
4940a135af
eliminate raw sql LIKE query 2019-10-30 15:19:52 -04:00
Joey Hess
09c7cbbaa8
update for things already fixed in this branch 2019-10-30 13:57:22 -04:00
Joey Hess
9085a2cfec
make sure all sqlite selects have indexes
Bearing in mind that these indexes are really uniqueness constraints
that just happen to also make sqlite generate indexes.

In Database.ContentIndentifier, the ContentIndentifiersKeyRemoteCidIndex
is fine as a uniqueness constraint because it contains all rows from the
table. The ContentIndentifiersCidRemoteIndex is also ok because there
can only be one key for a given (cid, uuid) combination.

In Database.Export, the new ExportTreeFileKeyIndex is the same pair as
the old ExportTreeKeyFileIndex (previously ExportTreeIndex). And
in Database.Keys.SQL, the new InodeCacheKeyIndex is the same pair as the
old KeyInodeCacheIndex.
2019-10-30 13:46:52 -04:00
Dwk
ee841249c0 Added a comment 2019-10-29 21:04:42 +00:00
Joey Hess
25f912de5b
benchmark: Add --databases to benchmark sqlite databases
Rescued from commit 11d6e2e260 which removed
db benchmarks in favor of benchmarking arbitrary git-annex commands. Which
is nice and general, but microbenchmarks are useful too.
2019-10-29 16:59:27 -04:00
strmd
9f00137022 Added a comment 2019-10-29 20:01:01 +00:00
yarikoptic
cc62ba1da8 Added a comment: ACLs keep fighting back 2019-10-29 18:03:57 +00:00
Simon
cf03187f53 removed 2019-10-29 15:54:51 +00:00
Simon
a072c8a551 Added a comment: What is a recent enough version? 2019-10-29 15:51:55 +00:00
Ilya_Shlyakhter
5be902b324 Added a comment: re: setkey 2019-10-28 22:12:51 +00:00
Joey Hess
27e10fdbd7
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-28 12:24:29 -04:00
Joey Hess
8bb99ff2aa
devblog 2019-10-28 12:24:13 -04:00
Simon
b1077b417f Added a comment: Maybe this is the problem... 2019-10-28 16:13:18 +00:00
Simon
3f3e2d56ab Added a comment: Should there have been a combine step? 2019-10-28 16:06:22 +00:00
Simon
c4b628b241 Added a comment: Can you give more details? 2019-10-28 16:04:52 +00:00
nordmagnus999
bb9421bda4 Added a comment: Oh yeah, use verbose flag too. 2019-10-28 15:50:42 +00:00
nordmagnus999
54cdad7630 Added a comment: A possible solution 2019-10-28 15:49:12 +00:00
Simon
acae35d6e1 2019-10-28 15:37:04 +00:00
nordmagnus999
7fd392e584 2019-10-26 09:58:54 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
e4828c7e45 Added a comment: Thank you 2019-10-25 20:29:46 +00:00
nordmagnus999
72e3faa747 2019-10-25 19:54:13 +00:00