Skip to content

Removed escaping from quotes in ext comp metadata file references#5237

Merged
dlmarion merged 4 commits intoapache:mainfrom
dlmarion:5060-remove-escaping-ext-comp-files
Jan 8, 2025
Merged

Removed escaping from quotes in ext comp metadata file references#5237
dlmarion merged 4 commits intoapache:mainfrom
dlmarion:5060-remove-escaping-ext-comp-files

Conversation

@dlmarion
Copy link
Copy Markdown
Contributor

@dlmarion dlmarion commented Jan 8, 2025

Moved CompactionMetadata class so that internal object that contains path and range for the file could be reused.

Closes #5060

Moved CompactionMetadata class so that internal object that contains
path and range for the file could be reused.

Closes apache#5060
@dlmarion dlmarion added this to the 4.0.0 milestone Jan 8, 2025
@dlmarion dlmarion self-assigned this Jan 8, 2025
@dlmarion dlmarion merged commit 8c54934 into apache:main Jan 8, 2025
@dlmarion dlmarion deleted the 5060-remove-escaping-ext-comp-files branch January 8, 2025 19:56
dlmarion added a commit to dlmarion/accumulo that referenced this pull request Jan 9, 2025
The changes in apache#5237 to make the external compaction json metadata
entry easier to use ended up breaking FileNormalizationIT. apache#5237
removed the metadata entry string which ended up escaping the
double quotes in the string for the json and replaced it with an
object that contains the path, start, and end row. The problem
with this is that the metadata entry retains any misnormalization
of the file name (e.g. double slashes in the path) and that path
alone does not. This fixes the issue by putting the metadata entry
into the new object that is serialized to json so that the json
for the external compaction files now contains the metadata entry,
normalized path, start and end row.
dlmarion added a commit that referenced this pull request Jan 9, 2025
@dlmarion
Copy link
Copy Markdown
Contributor Author

dlmarion commented Jan 9, 2025

This commit was reverted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove escaping from external compaction entries in metadata table

4 participants