Commit 50dad4f
committed
CNDB-16135: reuse table directory from Directories into Descriptor (#2150)
### What is the issue
CNDB-16135: Descriptor uses different instances of `Path directory` for
the same table as constructor parameter
### What does this PR fix and why was it fixed
Use the table directory from `Directories` in `Descriptor` as
constructor parameter . `Descriptor#directory` is still different
instance in C* due to `directory#toCanonical()` which always creates new
instance in local file system1 parent 6020505 commit 50dad4f
File tree
2 files changed
+1
-3
lines changed- src/java/org/apache/cassandra
- db
- io/sstable
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | 376 | | |
378 | 377 | | |
379 | 378 | | |
| |||
433 | 432 | | |
434 | 433 | | |
435 | 434 | | |
436 | | - | |
437 | 435 | | |
438 | 436 | | |
439 | 437 | | |
| |||
0 commit comments