Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nautilus: librados, tests: allow to list objects with the NUL character in names #39324

Merged
merged 4 commits into from Mar 1, 2021

Commits on Feb 5, 2021

  1. librados: introduce rados_nobjects_list_next2().

    It's needed to properly list an object with the NUL
    character in the name. Such names can appear mostly
    as a consequence of bugs in clients.
    
    Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
    (cherry picked from commit 9d268b0)
    
    Conflicts:
    	src/librados/librados_c.cc (nautilus lacks
    	the LIBRADOS_C_API_DEFAULT_F macro which is
    	present in master; customized the changes to
    	to fit nautilus)
    rzarzynski committed Feb 5, 2021
    Copy the full SHA
    ba6dba6 View commit details
    Browse the repository at this point in the history
  2. test: add unit test for rados_nobjects_list_next2().

    Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
    (cherry picked from commit 8965506)
    rzarzynski committed Feb 5, 2021
    Copy the full SHA
    4684acd View commit details
    Browse the repository at this point in the history
  3. librados: NObjectIteratorImpl takes care about NUL in obj name.

    Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
    (cherry picked from commit 22bb149)
    rzarzynski committed Feb 5, 2021
    Copy the full SHA
    8b5099e View commit details
    Browse the repository at this point in the history
  4. tools: switch scratch tool to use rados_nobjects_list_next2().

    Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
    (cherry picked from commit 05dca8a)
    rzarzynski committed Feb 5, 2021
    Copy the full SHA
    b71bb4d View commit details
    Browse the repository at this point in the history