accumulo icon indicating copy to clipboard operation
accumulo copied to clipboard

Setting empty property value via the shell deletes the property

Open ddanielr opened this issue 1 year ago • 1 comments

Describe the bug Setting a table property to an empty string deletes the property from ZK vs overriding the value to an empty string.

This was verified by using the accumulo admin dumpConfig -a tool to pull down the table configs and verify that the property no longer existed as a per-table override

Versions (OS, Maven, Java, and others, as appropriate):

  • Affected version(s) of this project: [e.g. 1.10.0] 2.1.x
  • OS: [e.g. CentOS 7.5] centos 7
  • Others:

Expected behavior The property value is overridden to an empty string and is only deleted if the -d flag is used.

Additional context @ctubbsii had some ideas on why this was happening

ddanielr avatar Apr 12 '24 17:04 ddanielr

@sparkyy34 discovered this bug if there are any more questions.

ddanielr avatar Apr 12 '24 18:04 ddanielr

@jmark99 are you working on this?

ctubbsii avatar Jul 02 '24 21:07 ctubbsii

@ctubbsii yes. Started looking this week. Should have a PR early next week as I'm away the rest of this week.

jmark99 avatar Jul 03 '24 11:07 jmark99