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

Remove version details and history from doc files #22

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Shivshankar-Reddy
Copy link

Removed the version details and history block from doc files.

docs/interact/programmability/lua-api.md Outdated Show resolved Hide resolved
docs/interact/programmability/lua-api.md Outdated Show resolved Hide resolved
@Shivshankar-Reddy
Copy link
Author

@hwware Done, updated the diff. Please have a look.

Signed-off-by: Shivshankar-Reddy <[email protected]>
Signed-off-by: Shivshankar-Reddy <[email protected]>
Signed-off-by: Shivshankar-Reddy <[email protected]>
Signed-off-by: Shivshankar-Reddy <[email protected]>
As of Redis version 2.6.0, scripts were replicated verbatim, meaning that the scripts' source code was sent for execution by replicas and stored in the AOF.
An alternative replication mode added in version 3.2.0 allows replicating only the scripts' effects.
As of Redis version 7.0, script replication is no longer supported, and the only replication mode available is script effects replication.
Verbatim script replication, meaning that the scripts' source code was sent for execution by replicas and stored in the AOF.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should rephrase this part statement, Since Redis 7.0, verbatim replication is no longer supported, I think we do not need to mention verbatim replication anymore

Copy link
Contributor

@stockholmux stockholmux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small changes.

I'm also uncertain that commands.json is relevant since the command JSON now live in valkey-io/valkey but your changes won't hurt anything.

docs/reference/arm.md Outdated Show resolved Hide resolved
docs/reference/arm.md Show resolved Hide resolved
Signed-off-by: Shivshankar-Reddy <[email protected]>
as it does in other Linux based environments. This is because we believe
that for the small use cases inside embedded devices, memory fragmentation
is unlikely to be a problem. Moreover `jemalloc` on ARM may not be as tested
as the `libc` allocator.

## Performance
Copy link
Author

@Shivshankar-Reddy Shivshankar-Reddy Apr 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stockholmux Removed this section as performance test done way long back on redis 4.0, I am not sure whether they are really relevant now. Hopefully, someone will do the test and based on Valkey actual performance results on PI, we can bring this section back.

@Shivshankar-Reddy
Copy link
Author

@hwware @stockholmux I have updated the diff based on your suggestions, Can you please have a loo when have some time?

Signed-off-by: Shivshankar-Reddy <[email protected]>
@hwware
Copy link
Member

hwware commented Apr 10, 2024

Now it is good to me. I approve it.

Comment on lines -86 to +89
* `pubsub_clients`: Number of clients in pubsub mode (`SUBSCRIBE`, `PSUBSCRIBE`, `SSUBSCRIBE`). Added in Valkey 8.0
* `watching_clients`: Number of clients in watching mode (`WATCH`). Added in Valkey 8.0
* `pubsub_clients`: Number of clients in pubsub mode (`SUBSCRIBE`, `PSUBSCRIBE`, `SSUBSCRIBE`).
* `watching_clients`: Number of clients in watching mode (`WATCH`).
* `clients_in_timeout_table`: Number of clients in the clients timeout table
* `total_watched_keys`: Number of watched keys. Added in Valkey 8.0.
* `total_watched_keys`: Number of watched keys.
Copy link
Contributor

@zuiderkwast zuiderkwast Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm strongly against this change.

Where is the decision to remove all history? Please show me.

It is a terrible idea for anyone who is upgrading from Redis, which I think will be 99% of our users.

I insist that we keep references to Redis 6.2 and later, i.e. the versions that were still supported when we forked, which is what all users are running before they upgrade to Valkey.

@valkey-io/core-team I would like to know where this idea is coming from. Was it discussed anywhere?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, i think we should keep the history, finding the corresponding supported version is a pain (it deserves to be properly documented at somewhere). I don't remember us discussing this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't discuss this in the core team meeting but there was a discussion on an early re-branding PR (and this predates @enjoy-binbin's time on this project).

#4 (comment)

IIRC, the decision back then is to keep anything beyond 7.2 (the origin of Valkey) and this is why 8.0 was kept.

#4 (comment)

I insist that we keep references to Redis 6.2 and later

I am not against keeping references to Redis 6.2+ but can you explain how it could help customers who switch over to Valkey?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some users avoid upgrading until it is absolutely necessary. When a version is end of life, users want to switch to the latest version. That means from redis 6.2 to valkey 7.2 or valkey 8.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see in that PR that there is a decision to keep anything beyond 7.2.

  • Some really old stuff is deleted, like redis 2 (that's good)
  • Valkey 8 is kept. This is good and important, since it is a future version and not yet released. It's important to keep this to indicate that these parts are not valid for our first release 7.2.5.
  • Delete references to 7.2, 7.0, 6.2 is unfortunate but no disaster. I think we should avoid it. We don't have versioned docs so these indicators is the only way for users to find these differences when upgrading, apart from the release notes in each release.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some users avoid upgrading until it is absolutely necessary. When a version is end of life, users want to switch to the latest version. That means from redis 6.2 to valkey 7.2 or valkey 8.

Got it - I think we should re-instate the history of these versions then. I am all for helping the users.

@@ -681,7 +658,6 @@ In addition, the following external libraries are loaded and accessible to scrip

### <a name="os-library"></a> _os_ library

* Since version: 8.0.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably keep this one?

@@ -361,8 +347,6 @@ If you run this script by calling `EVAL "..." 3 A B C 1 2 3`, the result will be

### <a name="redis.replicate_commands"></a> `redis.replicate_commands()`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally just delete this, it's no longer supported.

zuiderkwast added a commit that referenced this pull request Jul 3, 2024
Documents the behavior for the new server top level domain object and
the new Lua fields. Also updates all of the examples to use the server
object. Also includes some cleanup to references to "Valkey
serialization protocol" which doesn't exist.

There will be some minimal conflicts with
#22, as it attempts to
remove the versioning references which this file also does for the files
that were touched.

---------

Signed-off-by: Madelyn Olson <[email protected]>
Signed-off-by: Viktor Söderqvist <[email protected]>
Co-authored-by: Viktor Söderqvist <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants