Skip to content

Change file sending priority for delta support #18

@namanmehta1997

Description

@namanmehta1997

In the current schema only the kmz files are being transferred but from now onwords there will be a kmz file and there may or may not be a delta file associated with it.
If one kmz is transferred and if there is a delta file associated with it, then it should be transferred first then the other kmz file. We can think of as a container like a container contains a kmz and a delta file, which is being transferred now. The delta file associated with a kmz can be identified by the name of the delta and the kmz file.
For the transfer of delta these must be followed:

  1. If receiver is already having the latest delta then it should not send the previous version
  2. If receiver is not having the delta or having the older version delta than the sender's then the latest delta should be sent to it and previous version of delta should be deleted after the completion of the latest delta

The name of the delta and the kmz will follow the following example format:
kmz - TXT_priority_data_source_defaultMcs_lat_lon_timestamp_groupID_versionNo.kmz
delta -TXT_priority_data_source_defaultMcs_lat_lon_timestamp_groupID_versionNo_timestampOfDeltaCreate.delta

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions