You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DataBlobs/entities/BlobEntry.jl
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -17,19 +17,19 @@ Base.@kwdef struct BlobEntry
17
17
""" Remotely assigned and globally unique identifier for the `BlobEntry` itself (not the `.blobId`). """
18
18
id::Union{UUID, Nothing}=nothing
19
19
""" Machine friendly and globally unique identifier of the 'Blob', usually assigned from a common point in the system. This can be used to guarantee unique retrieval of the large data blob. """
20
-
blobId::Union{UUID, Nothing}=nothing
20
+
blobId::Union{UUID, Nothing}=uuid4() #Deprecated in v0.25 TODO remove union, blobId is mandatory
21
21
""" Machine friendly and locally assigned identifier of the 'Blob'. `.originId`s are mandatory upon first creation at the origin regardless of network access. Separate from `.blobId` since some architectures do not allow edge processes to assign a uuid4 to data store elements. """
22
-
originId::Union{UUID, Nothing}=nothing
22
+
originId::Union{UUID, Nothing}=blobId #Deprecated in v0.25 TODO remove union or remove originId completely
23
23
""" Human friendly label of the `Blob` and also used as unique identifier per node on which a `BlobEntry` is added. E.g. do "LEFTCAM_1", "LEFTCAM_2", ... of you need to repeat a label on the same variable. """
24
24
label::Symbol
25
25
""" A hint about where the `Blob` itself might be stored. Remember that a Blob may be duplicated over multiple blobstores. """
26
-
blobstore::Symbol
26
+
blobstore::Symbol=:default
27
27
""" A hash value to ensure data consistency which must correspond to the stored hash upon retrieval. Use `bytes2hex(sha256(blob))`. [Legacy: some usage functions allow the check to be skipped if needed.] """
0 commit comments