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

[bug]: Executing "select * system.compaction_history;" in notebook view does not display any rows #393

Open
2 tasks done
hshimizu opened this issue Sep 10, 2024 · 8 comments
Assignees
Labels
Bug Something isn't working cql console

Comments

@hshimizu
Copy link
Collaborator

Do I have the most recent version of AxonOps Workbench installed?

  • I am using the most recent beta release

AxonOps Workbench Version

1.0.0-beta-20240910-01

Is there an existing issue for this?

  • I have searched the existing issues

Operating System

Windows

Operating System Version

Windows 11

Apache Cassandra Version(s)

5.0.0

Bug Description

Running the above query in the terminal view shows some rows.
image

Notebook view shows none.
image

Steps to Reproduce

Execute "select * from system.compaction_history;" in notebook view.

Expected Behavior

Executing the query should show some rows.

Actual Behavior

Executing the query shows no rows.

Severity

High

Further Information

No response

@hshimizu hshimizu added Bug Something isn't working Needs Triage bugs which are not yet confirmed labels Sep 10, 2024
@millerjp millerjp assigned mhmdkrmabd and unassigned millerjp Sep 10, 2024
@millerjp millerjp added this to the v1.0.0-release milestone Sep 10, 2024
@millerjp millerjp added cql console and removed Needs Triage bugs which are not yet confirmed labels Sep 10, 2024
@millerjp
Copy link
Contributor

@mhmdkrmabd I have tested this on MacOs v1.0.0-beta-20240909-01 and it returns ok

@hshimizu
Copy link
Collaborator Author

hshimizu commented Sep 10, 2024

image



CREATE TABLE system.compaction_history (
    id timeuuid PRIMARY KEY,
    bytes_in bigint,
    bytes_out bigint,
    columnfamily_name text,
    compacted_at timestamp,
    compaction_properties frozen<map<text, text>>,
    keyspace_name text,
    rows_merged map<int, bigint>
) WITH additional_write_policy = '99p'
    AND bloom_filter_fp_chance = 0.01
    AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
    AND comment = 'week-long compaction history'
    AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
    AND compression = {'chunk_length_in_kb': '16', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
    AND crc_check_chance = 1.0
    AND default_time_to_live = 604800
    AND gc_grace_seconds = 0
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 3600000
    AND min_index_interval = 128
    AND read_repair = 'BLOCKING'
    AND speculative_retry = '99p';

@millerjp
Copy link
Contributor

@mhmdkrmabd It looks like its specific to this table and its data times and windows

@mhmdkrmabd
Copy link
Collaborator

mhmdkrmabd commented Sep 10, 2024

@millerjp @hshimizu confirmed this bug, only happen on Windows (10/11), not confirmed yet if it's only for the table system.compaction_history; or it's about the data type in it
image

@digiserg
Copy link
Collaborator

Fixed in the latest beta

@digiserg
Copy link
Collaborator

digiserg commented Sep 11, 2024

@mhmdkrmabd I'm reopening this issue as it seems to happen still but not always. I get the problem always the first time though. See video.

Screen.Recording.2024-09-11.at.14.35.09.mov

@digiserg digiserg reopened this Sep 11, 2024
@mhmdkrmabd
Copy link
Collaborator

Am working on that

@mhmdkrmabd
Copy link
Collaborator

@millerjp @hshimizu @digiserg

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working cql console
Projects
None yet
Development

No branches or pull requests

4 participants