Skip to content

Commit 16e83e5

Browse files
authored
Merge pull request #219 from socrata/rjm/remove-sync
Prevent datasync from trying to diff files on upload
2 parents ed82fdd + 6e93bea commit 16e83e5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<modelVersion>4.0.0</modelVersion>
88
<groupId>DataSync</groupId>
99
<artifactId>DataSync</artifactId>
10-
<version>1.9.9</version>
10+
<version>1.9.10</version>
1111
<developers>
1212
<developer>
1313
<name>Ayn Leslie-Cook</name>

src/main/java/com/socrata/datasync/publishers/DeltaImporter2Publisher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public JobStatus publishWithDi2OverHttp(String datasetId, final File csvOrTsvFil
107107
do {
108108
try {
109109
// get signature of previous csv/tsv file
110-
pathToSignature = datasyncDir.getPathToSignature();
110+
pathToSignature = null; //datasyncDir.getPathToSignature();
111111
previousSignature = getPreviousSignature(pathToSignature);
112112

113113
final long fileSize = csvOrTsvFile.length() - bomLength;
@@ -143,7 +143,7 @@ protected void progress(long count) {
143143
return getJobStatus(datasetId, jobId);
144144
} catch (CompletelyRestartJob e) {
145145
retryCount += 1;
146-
} catch (ParseException | NoSuchAlgorithmException | InputException | URISyntaxException |
146+
} catch (NoSuchAlgorithmException | InputException | URISyntaxException |
147147
SignatureException |InterruptedException | HttpException e) {
148148
e.printStackTrace();
149149
JobStatus jobStatus = JobStatus.PUBLISH_ERROR;

0 commit comments

Comments
 (0)