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

Partition Watermarks are not displayed properly #1163

Open
weeco opened this issue Mar 9, 2024 · 0 comments
Open

Partition Watermarks are not displayed properly #1163

weeco opened this issue Mar 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working frontend

Comments

@weeco
Copy link
Contributor

weeco commented Mar 9, 2024

When I took down a node in a three node cluster I wanted to see a topic's partitions. There seem to be multiple issues with properly displaying the partitions low and high watermarks. It was expected that we cannot list the low and high watermark for partition 0, but we should present it better.

ss-ePuE6cMc

API response from server:

{
    "topicName": "kminion-end-to-end",
    "partitions": [
        {
            "id": 0,
            "replicas": [
                1
            ],
            "offlineReplicas": null,
            "inSyncReplicas": [
                1
            ],
            "leader": 1,
            "waterMarksError": "unknown broker",
            "waterMarkLow": -1,
            "waterMarkHigh": -1,
            "partitionLogDirs": [
                {
                    "brokerId": 1,
                    "error": "haven't got a log dir response for this replica even though it had been requested",
                    "partitionId": 0,
                    "size": -1
                }
            ]
        },
        {
            "id": 1,
            "replicas": [
                0
            ],
            "offlineReplicas": null,
            "inSyncReplicas": [
                0
            ],
            "leader": 0,
            "waterMarkLow": 0,
            "waterMarkHigh": 11044,
            "partitionLogDirs": [
                {
                    "brokerId": 0,
                    "partitionId": 1,
                    "size": 2286340
                }
            ]
        },
        {
            "id": 2,
            "replicas": [
                2
            ],
            "offlineReplicas": null,
            "inSyncReplicas": [
                2
            ],
            "leader": 2,
            "waterMarkLow": 0,
            "waterMarkHigh": 11044,
            "partitionLogDirs": [
                {
                    "brokerId": 2,
                    "partitionId": 2,
                    "size": 2286340
                }
            ]
        }
    ]
}
@weeco weeco added bug Something isn't working frontend labels Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

2 participants