Fossil SCM
Jot down some notes for how to move forward.
Commit
634fd117b154442a2a1f508bbc6ec603022dbab4
Parent
741aac4d4e9da49…
2 files changed
+30
+5
+30
| --- a/ideas.txt | ||
| +++ b/ideas.txt | ||
| @@ -0,0 +1,30 @@ | ||
| 1 | +ceived from server | |
| 2 | + * Prevvious two steps repeat until no more gimmes | |
| 3 | + | |
| 4 | +Details of new push algorithm: | |
| 5 | + | |
| 6 | + * Tablhed | |
| 7 | + * TEMP table "wanted" contains files the server does not have | |
| 8 | + Loop: | |
| 9 | + t sends file message for all files in unsent and removes | |
| 10 | + those files from the table. | |
| 11 | + * Client sends file message for all files in wantessages for | |
| 12 | + + ce | |
| 13 | + * Server creates phantoms for unknown ihaves | |
| 14 | + * Server sends gimme messages for all phantoms | |
| 15 | + ------ | |
| 16 | + * Client clears itessage add an entry to wanted | |
| 17 | + * Halt if the wanted table is empty | |
| 18 | + | |
| 19 | +Details on new pull algorithm: | |
| 20 | + | |
| 21 | + Loop: | |
| 22 | + * Client sends login and "pull" record | |
| 23 | + * Client sends "prior" message with repository id and max record number | |
| 24 | + * Client sends "gimme" for each phantom | |
| 25 | + -------- | |
| 26 | + * Server creates new clusters to get unclustered size below 100 | |
| 27 | + * If there is "prior" message with repository id that matches this | |
| 28 | + server, then send file messages for all record ids greater than | |
| 29 | + prior | |
| 30 | + * Server sen |
| --- a/ideas.txt | |
| +++ b/ideas.txt | |
| @@ -0,0 +1,30 @@ | |
| --- a/ideas.txt | |
| +++ b/ideas.txt | |
| @@ -0,0 +1,30 @@ | |
| 1 | ceived from server |
| 2 | * Prevvious two steps repeat until no more gimmes |
| 3 | |
| 4 | Details of new push algorithm: |
| 5 | |
| 6 | * Tablhed |
| 7 | * TEMP table "wanted" contains files the server does not have |
| 8 | Loop: |
| 9 | t sends file message for all files in unsent and removes |
| 10 | those files from the table. |
| 11 | * Client sends file message for all files in wantessages for |
| 12 | + ce |
| 13 | * Server creates phantoms for unknown ihaves |
| 14 | * Server sends gimme messages for all phantoms |
| 15 | ------ |
| 16 | * Client clears itessage add an entry to wanted |
| 17 | * Halt if the wanted table is empty |
| 18 | |
| 19 | Details on new pull algorithm: |
| 20 | |
| 21 | Loop: |
| 22 | * Client sends login and "pull" record |
| 23 | * Client sends "prior" message with repository id and max record number |
| 24 | * Client sends "gimme" for each phantom |
| 25 | -------- |
| 26 | * Server creates new clusters to get unclustered size below 100 |
| 27 | * If there is "prior" message with repository id that matches this |
| 28 | server, then send file messages for all record ids greater than |
| 29 | prior |
| 30 | * Server sen |
M
todo.txt
+5
| --- todo.txt | ||
| +++ todo.txt | ||
| @@ -15,10 +15,15 @@ | ||
| 15 | 15 | |
| 16 | 16 | * Bug: If the server closes the socket unexpectedly, the |
| 17 | 17 | fwrite() in http.c:103 throws a signal and kills the child |
| 18 | 18 | process. fwrite() is not suppose to do this. Need to figure |
| 19 | 19 | out what is going wrong. |
| 20 | + | |
| 21 | + * Bug: pull is ending prematurely. | |
| 22 | + | |
| 23 | + * Bug: Make sure merge and other commands (check-out) do not try | |
| 24 | + to use a phantom. | |
| 20 | 25 | |
| 21 | 26 | * The ipaddr field of the rcvfrom table is not being set. This |
| 22 | 27 | field should be the IP address from which information is received |
| 23 | 28 | for the local repository. So when somebody does a push of new |
| 24 | 29 | files we record the ipaddr. Or when we do a pull, we record |
| 25 | 30 |
| --- todo.txt | |
| +++ todo.txt | |
| @@ -15,10 +15,15 @@ | |
| 15 | |
| 16 | * Bug: If the server closes the socket unexpectedly, the |
| 17 | fwrite() in http.c:103 throws a signal and kills the child |
| 18 | process. fwrite() is not suppose to do this. Need to figure |
| 19 | out what is going wrong. |
| 20 | |
| 21 | * The ipaddr field of the rcvfrom table is not being set. This |
| 22 | field should be the IP address from which information is received |
| 23 | for the local repository. So when somebody does a push of new |
| 24 | files we record the ipaddr. Or when we do a pull, we record |
| 25 |
| --- todo.txt | |
| +++ todo.txt | |
| @@ -15,10 +15,15 @@ | |
| 15 | |
| 16 | * Bug: If the server closes the socket unexpectedly, the |
| 17 | fwrite() in http.c:103 throws a signal and kills the child |
| 18 | process. fwrite() is not suppose to do this. Need to figure |
| 19 | out what is going wrong. |
| 20 | |
| 21 | * Bug: pull is ending prematurely. |
| 22 | |
| 23 | * Bug: Make sure merge and other commands (check-out) do not try |
| 24 | to use a phantom. |
| 25 | |
| 26 | * The ipaddr field of the rcvfrom table is not being set. This |
| 27 | field should be the IP address from which information is received |
| 28 | for the local repository. So when somebody does a push of new |
| 29 | files we record the ipaddr. Or when we do a pull, we record |
| 30 |