Skip to content

The wait_manual_compact() function in the pegasus_manual_compact.sh script cannot correctly detect the execution progress of the manual compact #2190

Open
@limowang

Description

@limowang

Bug Report

  1. What did you do?
    When using the command sh pegasus_manual_compact.sh -c {meta_server_list} -a {table_name} --bottommost_level_compaction force, the wait_manual_compact() function keeps writing the log [35s] 0 finished, 8 not finished (0 in queue, 0 in running), estimate remaining unknown seconds. table [**] manual compaction is running now. even though the manual compaction task has already finished. This causes the wait_manual_compact() function's output to be used to determine the task progress when encapsulating the manual_compact tool, leading to a timeout failure.

  2. What did you expect to see?
    The function wait_manual_compact() can correctly parse the output of the shell command remote_command -t replica-server replica.query-compact ${app_id}.

  3. What did you see instead?
    Cannot correctly parse.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThis issue reports a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions