Commit 82b6fed
authored
Make statusDir and tmpDir namespaced (#53)
To achieve parity with other paths/dirs (such as storageDir), this commit makes statusDir and tmpDir namespaced. The following is the example:
statusDir: /zkbackup/statusDir -> /zkbackup/statusDir/<namespace>
When the namespace is not given, the paths will be namespaced with a string "UNKNOWN_NAMESPACE".1 parent 33d63ac commit 82b6fed
File tree
3 files changed
+12
-5
lines changed- zookeeper-server/src
- main/java/org/apache/zookeeper/server/backup
- test/java/org/apache/zookeeper/test
3 files changed
+12
-5
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
506 | | - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
507 | 512 | | |
508 | 513 | | |
509 | 514 | | |
510 | | - | |
| 515 | + | |
511 | 516 | | |
512 | 517 | | |
513 | 518 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
0 commit comments