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

ils of a linkPoint gives error above 256 entries #7712

Open
jpmcfarland opened this issue Apr 21, 2024 · 0 comments
Open

ils of a linkPoint gives error above 256 entries #7712

jpmcfarland opened this issue Apr 21, 2024 · 0 comments

Comments

@jpmcfarland
Copy link

jpmcfarland commented Apr 21, 2024

Bug Report

iRODS Version, OS and Version

4.2.11 and 4.3.1, any Linux

What did you try to do?

Run ils on a collection through an imcoll link (a linkPoint).

Expected behavior

A full listing of the contents of the linked-to collection.

Observed behavior (including steps to reproduce, if applicable)

When accessing a collection through an imcoll link (a linkPoint), the number of the entries in that collection affects the results of ils. If the number is at or below 256, ils displays everything correctly. Above 256 entries, an error is given:

rclReadCollection: getNextDataObjMetaInfo error for... status = -130000

Here is a test setup to reproduce:

#!/bin/bash

home="/testZone/home/irods"
shared="/testZone/home/Shared"

imkdir $home/test300
imcoll -m l $home/test300 $shared/test300
for i in 0 1 2; do
    for j in 0 1 2 3 4 5 6 7 8 9; do
        for k in 0 1 2 3 4 5 6 7 8 9; do
            itouch $home/test300/test_$i$j$k.file
        done
    done
done

Listing of /testZone/home/irods/test300 shows shows 300 data objects, but a listing of /testZone/home/Shared/test300 shows only 256 and ends with:

test_253.file
test_254.file
test_255.file
remote addresses: 10.0.0.1 ERROR: rclReadCollection: getNextDataObjMetaInfo error for /testZone/home/Shared/test300. status = -130000

A similar issue is reported in iRODS-Chat message "error using symbolic links" (https://groups.google.com/g/irod-chat/c/72SkEgAQaww/m/We17OPKPBQAJ).

@jpmcfarland jpmcfarland changed the title ils of a linkPoint gives error above 255 entries ils of a linkPoint gives error above 256 entries Apr 21, 2024
@korydraughn korydraughn added this to the 4.3.3 milestone Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants