diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-26 19:55:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-26 19:55:24 +0000 |
commit | d0e25cca5eb56a18bd4feddcb4235aff09131a80 (patch) | |
tree | f85aa9dacc43f4528daf7c417b61e2506700df83 /src/fs/fs.h | |
parent | 95c050064311c6153a5312da89d3a076617141b5 (diff) | |
download | gnunet-d0e25cca5eb56a18bd4feddcb4235aff09131a80.tar.gz gnunet-d0e25cca5eb56a18bd4feddcb4235aff09131a80.zip |
change unindex processing order to avoid transient dangling DB entries
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index 32b4181dd..a7ae457d5 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -1352,16 +1352,16 @@ enum UnindexState | |||
1352 | UNINDEX_STATE_HASHING = 0, | 1352 | UNINDEX_STATE_HASHING = 0, |
1353 | 1353 | ||
1354 | /** | 1354 | /** |
1355 | * We're notifying the FS service about | 1355 | * We're telling the datastore to delete |
1356 | * the unindexing. | 1356 | * the respective entries. |
1357 | */ | 1357 | */ |
1358 | UNINDEX_STATE_FS_NOTIFY = 1, | 1358 | UNINDEX_STATE_DS_REMOVE = 1, |
1359 | 1359 | ||
1360 | /** | 1360 | /** |
1361 | * We're telling the datastore to delete | 1361 | * We're notifying the FS service about |
1362 | * the respective entries. | 1362 | * the unindexing. |
1363 | */ | 1363 | */ |
1364 | UNINDEX_STATE_DS_REMOVE = 2, | 1364 | UNINDEX_STATE_FS_NOTIFY = 2, |
1365 | 1365 | ||
1366 | /** | 1366 | /** |
1367 | * We're done. | 1367 | * We're done. |