Development Team/Datastore Rewrite: Difference between revisions

Tomeu (talk | contribs)
Tomeu (talk | contribs)
Line 55: Line 55:
  1a
  1a
       1ab88287-766a-4d98-a7c0-4233dc48647a
       1ab88287-766a-4d98-a7c0-4233dc48647a
             1ab88287-766a-4d98-a7c0-4233dc48647a
             data
             metadata
             metadata
                   activity_id
                   activity_id
Line 65: Line 65:
  2b
  2b
       2b90597c-0912-4e7f-8eeb-71a0f004490d
       2b90597c-0912-4e7f-8eeb-71a0f004490d
             2b90597c-0912-4e7f-8eeb-71a0f004490d
             data
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             metadata
             metadata
Line 76: Line 76:
  3c
  3c
       3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a
       3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a
             3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a -> 2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/2b90597c-0912-4e7f-8eeb-71a0f004490d
             data -> 2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/data
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             metadata
             metadata
Line 87: Line 87:
  4d
  4d
       4db11d29-2f07-4452-bd8e-22a6a483ac19
       4db11d29-2f07-4452-bd8e-22a6a483ac19
             4db11d29-2f07-4452-bd8e-22a6a483ac19
             data
             metadata
             metadata
                   activity_id
                   activity_id
Line 96: Line 96:
                   title
                   title
       4d9f2027-b41e-4015-a848-6b3972193eb8
       4d9f2027-b41e-4015-a848-6b3972193eb8
             4d9f2027-b41e-4015-a848-6b3972193eb8
             data
             metadata
             metadata
                   activity_id
                   activity_id
Line 106: Line 106:
  checksums
  checksums
       464493d8d929436b6152e868867ed451
       464493d8d929436b6152e868867ed451
             2b90597c-0912-4e7f-8eeb-71a0f004490d ~> 2b90597c-0912-4e7f-8eeb-71a0f004490d/2b90597c-0912-4e7f-8eeb-71a0f004490d
             2b90597c-0912-4e7f-8eeb-71a0f004490d ~> 2b90597c-0912-4e7f-8eeb-71a0f004490d/data
             3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a ~> 3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a/3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a
             3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a ~> 3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a/data
  index
  index
       flintlock
       flintlock
Line 128: Line 128:
'''1a/1ab88287-...-4233dc48647a''': directory holding the files related to one entry
'''1a/1ab88287-...-4233dc48647a''': directory holding the files related to one entry


'''1a/1ab88287-...-4233dc48647a/1ab88287-...-4233dc48647a''': "data" file related to an entry
'''1a/1ab88287-...-4233dc48647a/data''': file related to an entry


'''1a/1ab88287-...-4233dc48647a/metadata''': directory containing a file for each metadata property of an entry
'''1a/1ab88287-...-4233dc48647a/metadata''': directory containing a file for each metadata property of an entry
Line 134: Line 134:
'''2b/2b90597c-...-71a0f004490d/metadata/activity_id''': file containing the value of the '''activity_id''' property
'''2b/2b90597c-...-71a0f004490d/metadata/activity_id''': file containing the value of the '''activity_id''' property


'''3c/3cdf5f0e-...-cbedfcfe1c4a/3cdf5f0e-...-cbedfcfe1c4a''': hard link to the same file in the entry '''2b90597c-...-71a0f004490d'''
'''3c/3cdf5f0e-...-cbedfcfe1c4a/data''': hard link to the same file in the entry '''2b90597c-...-71a0f004490d'''


'''3c/3cdf5f0e-...-cbedfcfe1c4a/checksum ~> checksums/464493d8d929436b6152e868867ed451''': symbolic link to the file in '''checksums'''. Used to get the checksum of the entry without having to recalculate it nor read it from the metadata file
'''3c/3cdf5f0e-...-cbedfcfe1c4a/checksum ~> checksums/464493d8d929436b6152e868867ed451''': symbolic link to the file in '''checksums'''. Used to get the checksum of the entry without having to recalculate it nor read it from the metadata file